1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-11-27 00:43:47 +00:00
kamokan/test/unit/CMakeLists.txt

24 lines
455 B
Text
Raw Normal View History

2017-05-04 22:03:53 +00:00
project(tawashi_unittest CXX)
2017-05-05 08:48:46 +00:00
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2017-05-04 22:03:53 +00:00
add_executable(${PROJECT_NAME}
check.cpp
test_ini_file.cpp
2017-05-05 08:48:46 +00:00
test_settings_bag.cpp
2017-05-04 22:03:53 +00:00
)
target_include_directories(${PROJECT_NAME}
PRIVATE ${TAWASHI_SOURCE_ROOT}/lib/Catch/single_include
)
target_link_libraries(${PROJECT_NAME}
PRIVATE tawashi_implem
)
add_test(
NAME TawashiUnitTest
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${PROJECT_NAME}
)