qibuild.cmake_builder - Building CMake projects¶
CMakeBuilder¶
-
class
qibuild.cmake_builder.
CMakeBuilder
(build_worktree, projects=None)¶ CMake driver. Allow building multiple cmake projects together. Dependencies can optionally be resolved and taken into account.
-
dep_types
¶ The list of dependencies to use
-
build_config
¶ The
CMakeBuildConfig
to use when building projects
-
build_env
¶ The environment used when building projects
-
need_configure
(func)¶ Decorator for every function that expects a build directory to exist
-
bootstrap_projects
()¶ Write the dependencies.cmake and the qi/path.conf files for every project
-
pre_build
(project)¶ Called before building a project
-
configure
(*args, **kwargs)¶ Configure the projects in the correct order
-
build
(*args, **kwargs)¶ Build the projects in the correct order
-
build_parallel
(*args, **kwargs)¶ Build the projects (in parallel) in the correct order
-
install
(*args, **kwargs)¶ Install the projects and the packages to the dest_dir
-
deploy
(*args, **kwargs)¶ Deploy the project and the packages it depends to a remote url
-
See also¶
- The Building CMake projects overview