Use ctest in cmake.
This commit is contained in:
parent
f51c739a48
commit
dc1b3e7b76
3 changed files with 10 additions and 1 deletions
|
@ -15,3 +15,9 @@ target_link_libraries(${PROJECT_NAME}
|
|||
target_compile_definitions(${PROJECT_NAME}
|
||||
PRIVATE VWR_WITH_IMPLICIT_CONVERSIONS
|
||||
)
|
||||
|
||||
add_test(
|
||||
NAME TestNormal
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMAND ${PROJECT_NAME}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue