Ctest configuration
Compare changes
Files
6+ 13
− 9
@@ -12,18 +12,18 @@ include_directories(${PROJECT_SOURCE_DIR}/third_party/spdlog/include/)
@@ -45,6 +45,10 @@ target_link_libraries(gtest_example ${PROJECT_NAME}) #
This replicates issue #115 (closed) , which in turn traces back to !103 (merged), regarding ctest
and gtest
.
I finally left the project as this (checkout branch frame-base-tests
):
wolf/src/tests
--> here all the gtest files are located
In wolf/CMakeLists.txt
if(BUILD_TESTS)
enable_testing()
endif()
wolf/src/CMakeLists.txt
if(BUILD_TESTS)
MESSAGE("Building tests.")
add_subdirectory(test)
endif()