|
@@ -4,7 +4,7 @@ project(software-watchdog)
|
|
|
# set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
|
set(CMAKE_BUILD_TYPE DEBUG)
|
|
|
|
|
|
-option(BUILD_TESTING "Build tests for software-watchdog." ON)
|
|
|
+option(BUILD_TESTS "Build tests" OFF)
|
|
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
@@ -12,7 +12,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
|
|
|
|
# link_directories(${LIBRARY_OUTPUT_DIRECTORY})
|
|
|
add_subdirectory(src)
|
|
|
-if(BUILD_TESTING)
|
|
|
+if(BUILD_TESTS)
|
|
|
enable_testing()
|
|
|
add_subdirectory(tests)
|
|
|
endif()
|