Skip to content

honor BUILD_SHARED_LIBS on CMakeLists.txt#75

Open
ycdtosa wants to merge 1 commit intoedrosten:masterfrom
ycdtosa:master
Open

honor BUILD_SHARED_LIBS on CMakeLists.txt#75
ycdtosa wants to merge 1 commit intoedrosten:masterfrom
ycdtosa:master

Conversation

@ycdtosa
Copy link

@ycdtosa ycdtosa commented Oct 18, 2023

this change will allow the user to choose which type of library he wants to generate

cmake -DBUILD_SHARED_LIBS=ON ... will create a shared library
cmake -DBUILD_SHARED_LIBS=OFF ... will create a static library

you can use

cmake -DBUILD_SHARED_LIBS=ON ...

or

cmake -DBUILD_SHARED_LIBS=OFF ...

to choose the type of library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments