lz4/contrib/cmake_unofficial
Michał Górny 28db4acc90 cmake: Support building shared & static libs simultaneously
Add an additional BUILD_STATIC_LIBS option to control building static
libraries independently of shared. This makes it possible (if both
options are set to ON) to build both shared and static libraries
simulataneously.

A dependant option is used to preserve the current BUILD_SHARED_LIBS
behavior, i.e. -DBUILD_SHARED_LIBS=ON -- shared lib only,
-DBUILD_SHARED_LIBS=OFF -- static lib only.

The targets used to build shared and static library are split now,
and only relevant properties are passed to each of them. An alias is
used to link programs to the preferred library.
2017-01-02 16:34:57 +01:00
..
.gitignore moved cmake and debian directories to contrib (#245) 2016-11-01 17:29:15 -07:00
CMakeLists.txt cmake: Support building shared & static libs simultaneously 2017-01-02 16:34:57 +01:00