Build tests conditionally
This commit is contained in:
parent
5869197ce7
commit
907c086b0f
|
@ -9,8 +9,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/build/bin)
|
|||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/build/lib)
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/build/archive)
|
||||
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
if ( BUILD_TESTS )
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
set(build_FILES src/uirc.c)
|
||||
if ( USE_HELPERS )
|
||||
message("Helper functions are going to be built.")
|
||||
|
|
Reference in New Issue