aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/nanobind/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/nanobind/usage')
-rw-r--r--vcpkg/ports/nanobind/usage8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcpkg/ports/nanobind/usage b/vcpkg/ports/nanobind/usage
new file mode 100644
index 0000000..81a3259
--- /dev/null
+++ b/vcpkg/ports/nanobind/usage
@@ -0,0 +1,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