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

Use BUILD_SHARED_LIBS as default value for REFLECTCPP_BUILD_SHARED #76

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

hlewin
Copy link
Contributor

@hlewin hlewin commented Apr 1, 2024

BUILD_SHARED_LIBS is the standard cmake variable to indicate if output should be shared libraries, so this should be used to streamline standalone builds. To not break existing integrations and to make inclusion (eg as submodule) easier this patch leaves REFLECTCPP_BUILD_SHARED in place but default-initializes it with the value of BUILD_SHARED_LIBS.

@liuzicheng1987
Copy link
Contributor

Great input! Thanks for the contribution!

@liuzicheng1987 liuzicheng1987 merged commit 843b846 into getml:main Apr 1, 2024
3 checks passed
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.

2 participants