mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CMake
- build only target for the unit tests - to be used by the tinderbox
This commit is contained in:
parent
733101a560
commit
e28d03df82
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ set (test_SRCS date.t t.t tdb.t duration.t t.benchmark.t text.t autocomplete.t s
|
|||
add_custom_target (test ./run_all DEPENDS ${test_SRCS}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
|
||||
|
||||
add_custom_target (build_tests DEPENDS ${test_SRCS}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
|
||||
|
||||
foreach (src_FILE ${test_SRCS})
|
||||
add_executable (${src_FILE} "${src_FILE}.cpp" test.cpp)
|
||||
target_link_libraries (${src_FILE} task ${TASK_LIBRARIES})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue