Part 7 : Library versionning
Versionning libraries in CMake is not hard but tedious. To handle it nicely you can use :
1 |
phoenix_add_library(lib_name source.cpp)
|
Libraries type is coltroled with the PHOENIX_BUILD_TYPE cmake variable :
- Dynamic : build only dynamic libraries (default value) (.so)
- DynamicAndStatic : build static and dynamic libraries (.a and .so)
- StaticOnly : build only static libraries (.a)