Skip to content
Discussion options

You must be logged in to vote

There is no way to enable a shared build of the internal nanobind library using a CMake variable.
NB_SHARED is an argument passed to nanobind's CMake high-level interface.
The library libnanobind.so is built along with the module extension itself. It's small (as the name "nanobind" suggests); it's under 180K on my system.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Martinfx
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by wjakob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants