Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Add option to build the project as a shared library #14

Merged
merged 1 commit into from
Oct 29, 2019

Conversation

stotko
Copy link
Owner

@stotko stotko commented Oct 29, 2019

Previously the project was built as a static library. Add an option STDGPU_BUILD_SHARED_LIBS to allow users to build it as a shared library. The default value is set to BUILD_SHARED_LIBRARIES in order to follow the globally preferred version. However, users can still manually set STDGPU_BUILD_SHARED_LIBS to force building the library in the desired way.

Fixes #12

@stotko stotko merged commit 28f5d23 into master Oct 29, 2019
@stotko stotko deleted the cmake_shared_library branch October 29, 2019 12:01
@stotko stotko added this to the 1.1.0 milestone Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support shared library building
1 participant