Skip to content
Discussion options

You must be logged in to vote

Hey 👋🏼

It is not fixed to be a static library. You can simply pass -DBUILD_SHARED_LIBS=ON to the CMake configure step and it will happily build a shared library.
See https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html for more information.
This allows for quite some additional flexibility in the build system.
If it turns out we do not need that flexibility and we always want to build a shared library anyway, we can always add that back in.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kayaercument
Comment options

kayaercument Aug 9, 2024
Collaborator Author

@burgholzer
Comment options

Answer selected by kayaercument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #47 on August 09, 2024 13:36.