]> granicus.if.org Git - gc/commit
Build gc_cpp.cc as gccpp library by CMake script
authorIvan Maidanski <ivmai@mail.ru>
Wed, 19 Jun 2019 22:01:30 +0000 (01:01 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 19 Jun 2019 22:01:30 +0000 (01:01 +0300)
commit39c58aed0007a897edfc1c7d570860c827d47a53
tree7261f6625cc84fbad7b400ff45a0d604270faabb
parentb42e8b07f2013e70216f34b779dc3dd22d073d0a
Build gc_cpp.cc as gccpp library by CMake script

Issue #281 (bdwgc).

This matches the behavior of the Automake-based build script.

* CMakeLists.txt [enable_cplusplus] (SRC): Do not add gc_cpp.cc.
* CMakeLists.txt [enable_cplusplus] (gccpp): Specify add_library and
target_link_libraries.
* CMakeLists.txt [build_tests && enable_cplusplus] (test_cpp): Add gccpp
to target_link_libraries.
CMakeLists.txt