]> granicus.if.org Git - gc/commit
Rename libgc-lib.a to libgc.a in CMake script
authorVictor Romero <romerosanchezv@gmail.com>
Sat, 15 Jun 2019 10:52:08 +0000 (13:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 15 Jun 2019 10:52:08 +0000 (13:52 +0300)
commit227a6979555a4f2fbae81c14e9c6e3b0ef03fca8
tree1a68e3c6e5c2cee4d68eed9bfe61f1e0f39b6e1b
parent5551994033b6c1ebc20973cc959f7cd8ddc91b33
Rename libgc-lib.a to libgc.a in CMake script

Issue #281 (bdwgc).

Also specify that libgc.a is used privately in test executables.

* CMakeLists.txt (gc-lib): Rename library to gc in add_library and
set_target_properties.
* cord/CMakeLists.txt [build_tests] (cordtest, de): Rename gc-lib to gc
and add PRIVATE in target_link_libraries.
* tests/CMakeLists.txt (gctest, hugetest, leaktest, middletest,
realloc_test, smashtest): Likewise.
* tests/CMakeLists.txt [enable_gc_debug] (tracetest): Likewise.
* tests/CMakeLists.txt [enable_disclaim] (disclaim_bench,
disclaim_test, disclaim_weakmap_test): Likewise.
CMakeLists.txt
cord/CMakeLists.txt
tests/CMakeLists.txt