mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:19:16 +08:00
9 lines
275 B
Plaintext
9 lines
275 B
Plaintext
The package nanobind provides CMake functions and source code rather than
|
|
libraries:
|
|
|
|
find_package(nanobind REQUIRED)
|
|
nanobind_add_module(my_ext source.cpp)
|
|
|
|
# See docs for more configuration options
|
|
# https://nanobind.readthedocs.io/en/latest/api_cmake.html
|