mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-10-10 15:10:33 +00:00
Add an empty unit test.
This commit is contained in:
parent
e1687c96ff
commit
85363e0db1
6 changed files with 49 additions and 1 deletions
18
test/unit/CMakeLists.txt
Normal file
18
test/unit/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
project(tawashi_unittest CXX)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
check.cpp
|
||||
)
|
||||
|
||||
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}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue