CMake
- Automatically link taskwarrior executable before launching tests with "make test".
This commit is contained in:
committed by
Paul Beckingham
parent
b45a305df2
commit
3cea8889e3
@@ -10,7 +10,7 @@ set (test_SRCS autocomplete.t color.t config.t date.t directory.t dom.t
|
|||||||
duration.t file.t i18n.t json.t list.t nibbler.t path.t rx.t
|
duration.t file.t i18n.t json.t list.t nibbler.t path.t rx.t
|
||||||
t.t t2.t taskmod.t tdb2.t text.t uri.t util.t view.t json_test)
|
t.t t2.t taskmod.t tdb2.t text.t uri.t util.t view.t json_test)
|
||||||
|
|
||||||
add_custom_target (test ./run_all DEPENDS ${test_SRCS}
|
add_custom_target (test ./run_all DEPENDS ${test_SRCS} task_executable
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
|
||||||
|
|
||||||
add_custom_target (build_tests DEPENDS ${test_SRCS}
|
add_custom_target (build_tests DEPENDS ${test_SRCS}
|
||||||
|
|||||||
Reference in New Issue
Block a user