Skip to content

Add options to choose between static and dynamic libraries #57

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

Merged
merged 2 commits into from
Sep 10, 2015

Conversation

vincent-raman
Copy link
Contributor

For now, socket.io-client-cpp is all static but we could want to choose between static and dynamic.
Furthermore, in some distribution, boost comes only in dynamic.

I propose then to make an option of Boost_USE_STATIC_LIBS (ON by default) and of BUILD_SHARED_LIBS (OFF by default)

By default the behavior will stay the same but we can change with
cmake ../ -DBoost_USE_STATIC_LIBS=OFF -DBUILD_SHARED_LIBS=ON

melode11 added a commit that referenced this pull request Sep 10, 2015
Add options to choose between static and dynamic libraries
@melode11 melode11 merged commit 34b949e into socketio:master Sep 10, 2015
@melode11
Copy link
Contributor

Great.

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