cmake-build-extension - PyPI
https://pypi.org/project/cmake-build-extension18.10.2021 · Use cmake-build-extension with the cmake_depends_on option and link against the exported CMake targets during the downstream packaging. Note that the second feature allows distributing C++ dependencies through PyPI. The resulting package structure is similar to other projects like pybind11 and CasADi .
cmake_path — CMake 3.23.0-rc5 Documentation
cmake.org › cmake › helpcmake_path (REMOVE_FILENAME <path-var> [OUTPUT_VARIABLE <out-var>]) Removes the filename component (as returned by GET ... FILENAME) from <path-var>. After removal, any trailing directory-separator is left alone, if present. If OUTPUT_VARIABLE is not given, then after this function returns, HAS_FILENAME returns false for <path-var>. For example:
get_filename_component — CMake 3.23.0-rc5 Documentation
cmake.org › cmake › helpget_filename_component. ¶. Get a specific component of a full filename. Changed in version 3.20: This command been superseded by cmake_path () command, except REALPATH now offered by file (REAL_PATH) command and PROGRAM now available in separate_arguments (PROGRAM) command. Sets <var> to a component of <FileName>, where <mode> is one of ...