summaryrefslogtreecommitdiffstats
path: root/visual
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-02 09:34:12 (GMT)
committerMichał Górny <mgorny@gentoo.org>2017-01-02 15:34:57 (GMT)
commit28db4acc90805c8bcc183b788900ac566b0346d1 (patch)
treeefb41757ef0b9581e37ade7c678f82c2730b9abd /visual
parent9e867db90adeacd3f2e241c1f3d1097640c69c78 (diff)
downloadlz4-28db4acc90805c8bcc183b788900ac566b0346d1.zip
lz4-28db4acc90805c8bcc183b788900ac566b0346d1.tar.gz
lz4-28db4acc90805c8bcc183b788900ac566b0346d1.tar.bz2
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.
Diffstat (limited to 'visual')
0 files changed, 0 insertions, 0 deletions