mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Common: Relocated reusable object to 'common' dir
This commit is contained in:
parent
735b0ce793
commit
a4b3f0c84a
12 changed files with 27 additions and 8 deletions
|
@ -5,6 +5,7 @@ endif()
|
|||
|
||||
include_directories (${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/common
|
||||
${CMAKE_SOURCE_DIR}/test
|
||||
${TIMEW_INCLUDE_DIRS})
|
||||
|
||||
|
@ -19,7 +20,7 @@ add_custom_target (build_tests DEPENDS ${test_SRCS}
|
|||
|
||||
foreach (src_FILE ${test_SRCS})
|
||||
add_executable (${src_FILE} "${src_FILE}.cpp" test.cpp)
|
||||
target_link_libraries (${src_FILE} timew ${TIMEW_LIBRARIES})
|
||||
target_link_libraries (${src_FILE} timew common ${TIMEW_LIBRARIES})
|
||||
endforeach (src_FILE)
|
||||
|
||||
configure_file(run_all run_all COPYONLY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue