Extension Build System¶
By default, scikit-build looks in the project top-level directory for a
CMakeLists.txt. It will then invoke
specifying a generator matching the python being used.
How to test if scikit-build is driving the compilation ?¶
To support the case of code base being built as both a standalone project
and a python wheel, it is possible to test for the variable
if(SKBUILD) message(STATUS "The project is built using scikit-build") endif()