include ctest
This commit is contained in:
parent
b422664f81
commit
eeba4b11e0
1 changed files with 2 additions and 1 deletions
|
@ -10,13 +10,14 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
if(MSVC)
|
||||
add_compile_options(/W4 /WX)
|
||||
else()
|
||||
add_compile_options(-W -Wall -Werror)
|
||||
add_compile_options(-Wall -Wpedantic)
|
||||
endif()
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
|
Loading…
Reference in a new issue