aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/nanobind/usage
blob: 81a3259d31375d010031ac90dd2c0fd43635865d (plain)
1
2
3
4
5
6
7
8
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