ivpm_build.cmake API
-
class ivpm_build.cmake.CmakeBuilder(proj_dir: str, build_dir: str = None, debug: bool = False, cmake_build_tool: str = None)[source]
Bases: object
Drives a CMake configure + build + install cycle.
-
configure(extra_args: list = None) → None[source]
Run cmake configure step.
-
build() → None[source]
Run the build step (ninja or make).
-
install() → None[source]
Run the install step.
-
run(extra_cmake_args: list = None) → None[source]
Configure, build, and install in sequence.
CMake configure / build / install driver.
Extracted from ivpm.setup.BuildExt.build_cmake() so it can be used
independently of the setuptools command hierarchy.
-
class ivpm_build.cmake.cmake_builder.CmakeBuilder(proj_dir: str, build_dir: str = None, debug: bool = False, cmake_build_tool: str = None)[source]
Bases: object
Drives a CMake configure + build + install cycle.
-
configure(extra_args: list = None) → None[source]
Run cmake configure step.
-
build() → None[source]
Run the build step (ninja or make).
-
install() → None[source]
Run the install step.
-
run(extra_cmake_args: list = None) → None[source]
Configure, build, and install in sequence.
Optional scikit-build-core bridge.
This module is a stub that will be completed once the scikit-build-core hook
API is finalised. It is safe to import even when scikit-build-core is absent.
-
ivpm_build.cmake.skbuild_bridge.collect_cmake_args(dep_pkgs: list = None) → list[source]
Return a list of -DCMAKE_PREFIX_PATH=... args from the IVPM
pkg_info registry for dep_pkgs (defaults to all registered packages).
-
class ivpm_build.cmake.skbuild_bridge.IVPMHook[source]
Bases: object
scikit-build-core build hook that injects IVPM include/lib paths.
-
initialize(version, build_data)[source]