-
Notifications
You must be signed in to change notification settings - Fork 198
Adding so lib to cmake #63
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
Conversation
Beside libogg.a, libogg.so is generated by modifying file CMakeLists.txt
|
It works on Ubuntu 18.04.3 LTS with x86_64 |
|
Also works on win10 with VS2019 |
|
@evpobr Would you mind reviewing this, please? |
|
@willson-chen , what's wrong with standard BUILD_SHARED_LIBS option? |
|
Cmake generates dynamic lib or static lib according to configurations. This is not wrong but not so convenient for libogg users. Referring to automake which generates dynamic lib and static lib at the same time, I think it is reasonable to make cmake work as the same way. What do you think of it? @rillian @evpobr |
Benefits
Disadvantages
|
|
Thank you both @evpobr @willson-chen |
|
@evpobr , I have to raise my hat to you. I need to learn more about cmake. |
Beside libogg.a, libogg.so is generated by modifying file CMakeLists.txt