diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2019-06-18 11:46:32 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2019-06-18 11:46:32 +0300 |
commit | 1d0d636a51b7396972ba777f2db8ca07ddc55f11 (patch) | |
tree | e230b81880488776487e6cd79c210da1e0c4105b /doc | |
parent | 401a332edf71c0342c34281a530fa6df7beff49e (diff) | |
download | bdwgc-1d0d636a51b7396972ba777f2db8ca07ddc55f11.tar.gz |
Build gc as a shared library by default (CMake)
Issue #281 (bdwgc).
* CMakeLists.txt (BUILD_SHARED_LIBS): Document option and set default to ON.
* CMakeLists.txt: Remove commented out ADD_LIBRARY for atomic_ops.
* CMakeLists.txt [BUILD_SHARED_LIBS] (SRC): Override to extra/gc.c.
* CMakeLists.txt [BUILD_SHARED_LIBS] (GC_DLL): Define macro.
* CMakeLists.txt [!BUILD_SHARED_LIBS] (GC_NOT_DLL): Define macro not only
for tests but also for gc library.
* CMakeLists.txt (gc): Remove STATIC in add_library specification.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions