From 78c458958ffe92430969a5151dff8342e36fdebf Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Mon, 17 Jun 2019 10:51:11 +0300 Subject: [PATCH] Enable test_cpp in CMake script Issue #281 (bdwgc). * CMakeLists.txt [enable_cplusplus] (test_cpp): Uncomment add_executable, target_link_libraries, add_test; remove TODO. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d272b24d..d32dfedf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -347,9 +347,9 @@ if (build_tests) endif() if (enable_cplusplus) - # TODO add_executable(test_cpp tests/test_cpp.cc) - # target_link_libraries(test_cpp PRIVATE gc) - # add_test(NAME test_cpp COMMAND test_cpp) + add_executable(test_cpp tests/test_cpp.cc) + target_link_libraries(test_cpp PRIVATE gc) + add_test(NAME test_cpp COMMAND test_cpp) endif() if (enable_disclaim) -- 2.50.1