summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2019-04-23 13:09:22 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2019-04-23 13:25:06 +0200
commit75fab760d6fb75da225a1f0665034837e726f0c3 (patch)
treebb8a6057f8e74918ad69f41839f99bd84a1acd9c /test/CMakeLists.txt
parent8daa6b1495124f0b67e6034130e12d7be83e38bd (diff)
Link executable with static or shared library
If CMARK_STATIC is on (default), link the executable with the static library. This produces exactly the same result as compiling the library sources again and linking with the object files. If CMARK_STATIC is off, link the executable with the shared library. This wasn't supported before and should be the preferred way to package cmark on Linux distros. Building only a shared library and a statically linked executable isn't supported anymore but this doesn't seem useful.
Diffstat (limited to 'test/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions