mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CMake
- added stub for the cmake file in test - proof of concept to generate the test binaries by linking to libtask
This commit is contained in:
parent
51fd0afade
commit
3a599b66f5
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
include_directories (${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/test)
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
include_directories (${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/test ${LUA_INCLUDE_DIR} ${PTHREAD_INCLUDE_DIR} ${READLINE_INCLUDE_DIR})
|
||||
|
||||
add_custom_target (test ./run_all DEPENDS date.t
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
|
||||
|
||||
add_executable (date.t date.t.cpp test.cpp)
|
||||
target_link_libraries (date.t task ${LUA_LIBRARIES} ${READLINE_LIBRARY})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue