Knitschi / CPFCMake

A component of the CMakeProjectFramework. It provides the CMake code that implements a CI-pipeline.
MIT License
2 stars 2 forks source link

The CI project should be able to set the linkage for dependencies individually. #49

Closed Knitschi closed 5 years ago

Knitschi commented 5 years ago

Currently all libraries use the same linkage defined by BUILD_SHARED_LIBS. In some cases it may be desireable to have some libraries as shared and some as static libraries.

This could be added by having an optional SHARED or STATIC keyword in the CPF_PACKAGES variable that is defined in the packages.cmake file.

Knitschi commented 5 years ago

This was implemented with 931c4399817cc8d915fc417b696dcb3eb2036abb