mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code cleanup
- Tidied CMakeLists.txt to trigger a flod build as a test.
This commit is contained in:
parent
4357f9c545
commit
73ecd13597
2 changed files with 5 additions and 5 deletions
|
@ -30,8 +30,8 @@ else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
|
||||||
if (NETBSD)
|
if (NETBSD)
|
||||||
#Since readline, etc likely to be in /usr/pkg/lib, not standard library
|
# Since readline, etc likely to be in /usr/pkg/lib, not standard library
|
||||||
#Otherwise will remove links during install
|
# Otherwise will remove links during install
|
||||||
set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
endif (NETBSD)
|
endif (NETBSD)
|
||||||
|
|
||||||
|
|
|
@ -52,9 +52,9 @@ set (task_SRCS A3.cpp A3.h
|
||||||
wcwidth6.cpp)
|
wcwidth6.cpp)
|
||||||
|
|
||||||
add_library (task STATIC ${task_SRCS})
|
add_library (task STATIC ${task_SRCS})
|
||||||
add_executable (task_executable main.cpp)
|
add_executable (task_executable main.cpp)
|
||||||
add_executable (calc_executable calc.cpp)
|
add_executable (calc_executable calc.cpp)
|
||||||
add_executable (args_executable args.cpp)
|
add_executable (args_executable args.cpp)
|
||||||
|
|
||||||
# Yes, 'task' is included twice, otherwise linking fails on assorted OSes.
|
# Yes, 'task' is included twice, otherwise linking fails on assorted OSes.
|
||||||
target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES})
|
target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue