Skip to content
Snippets Groups Projects
Commit 4df31f67 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

builds unit_tests binary in PASTIS_BINARY_DIR for more visibility

parent 44351756
No related branches found
No related tags found
No related merge requests found
include_directories("${CATCH_INCLUDE_PATH}")
#set(EXECUTABLE_OUTPUT_PATH ${PASTIS_BINARY_DIR})
set(EXECUTABLE_OUTPUT_PATH ${PASTIS_BINARY_DIR})
add_executable (unit_tests
main.cpp
example.cpp
......@@ -13,10 +13,3 @@ enable_testing()
#parse catch tests
ParseAndAddCatchTests(unit_tests)
#add_dependencies(check
# DEPENDS exec_tests)
add_custom_target(check
COMMAND unit_tests
DEPENDS unit_tests)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment