1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
=============
CMake modules
=============
To facilitate the writing of ``CMakeLists.txt`` used to build
CPython C/C++/Cython extensions, **scikit-build** provides the following
CMake modules:
.. toctree::
:maxdepth: 1
cmake-modules/Cython
cmake-modules/NumPy
cmake-modules/PythonExtensions
cmake-modules/F2PY
They can be included using ``find_package``:
.. code-block:: cmake
find_package(Cython REQUIRED)
find_package(NumPy REQUIRED)
find_package(PythonExtensions REQUIRED)
find_package(F2PY REQUIRED)
For more details, see the respective documentation of each modules.
|