This simple example shows how to use skbuild-conan to easily create bindings to C++-code that uses some further library (fmt in this case).
You can build and install it with
pip install .
Run the tests to make sure everything works by
pytest -s tests
The only two files that differ to a normal scikit-build project are
pyproject.toml
that definesskbuild-conan
as requirementsetup.py
that defines the C++ dependency viaconan_requirements=["fmt/[>=10.0.0]"],
You can find examples for pure scikit-build examples here.