@property
    def cmake_args(self):
        self.parse_profiles(warns=False)
        args = list()
        if self.cmake_generator:
            args.append("-G%s" % self.cmake_generator)
        if self.toolchain:
            args.append("-DCMAKE_TOOLCHAIN_FILE=%s" % self.toolchain.toolchain_file)
        args.append("-DCMAKE_BUILD_TYPE=%s" % self.build_type)

        for (name, value) in self._profile_flags:
            args.append("-D%s=%s" % (name, value))
        for (name, value) in self.user_flags:
            args.append("-D%s=%s" % (name, value))

        # Set QI_VIRTUALENV_PATH (useful when calling Python code from
        # C++)
        venv_path = self.build_worktree.venv_path
        args.append("-DQI_VIRTUALENV_PATH=%s" % qisys.sh.to_posix_path(venv_path))

        # Set qibuild_DIR in cache so that re-running CMake from an IDE
        # finds qibuild cmake modules
        cmake_qibuild_dir = qibuild.cmake.get_cmake_qibuild_dir()
        cmake_qibuild_dir = os.path.join(cmake_qibuild_dir, "qibuild")
        cmake_qibuild_dir = qisys.sh.to_posix_path(cmake_qibuild_dir)
        args.append("-Dqibuild_DIR=%s" % cmake_qibuild_dir)

        return args
Instantiate a StorageUri from a URI string.
dataset/ETHPy150Open aldebaran/qibuild/python/qibuild/build_config.py/CMakeBuildConfig.cmake_args--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/boto-2.38.0/boto/__init__.py/storage_uri