mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- Removed unnecessary cmake processing for shell.
This commit is contained in:
parent
3e04ff5e44
commit
b32a846828
1 changed files with 1 additions and 10 deletions
|
@ -11,18 +11,9 @@ set (tasksh_SRCS Readline.cpp Readline.h)
|
|||
add_library (tasksh STATIC ${tasksh_SRCS})
|
||||
add_executable (tasksh_executable main.cpp)
|
||||
|
||||
# Yes, 'task' is included twice, other linking fails on CentOS.
|
||||
# Yes, 'task' is included twice, otherwise linking fails on CentOS.
|
||||
target_link_libraries (tasksh_executable task commands columns tasksh task ${TASK_LIBRARIES})
|
||||
|
||||
set_property (TARGET tasksh_executable PROPERTY OUTPUT_NAME "tasksh")
|
||||
|
||||
install (TARGETS tasksh_executable DESTINATION ${TASK_BINDIR})
|
||||
|
||||
set (CMAKE_BUILD_TYPE debug)
|
||||
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -Wall")
|
||||
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -Wall")
|
||||
|
||||
#SET(CMAKE_BUILD_TYPE gcov)
|
||||
#SET(CMAKE_CXX_FLAGS_GCOV "--coverage")
|
||||
#SET(CMAKE_C_FLAGS_GCOV "--coverage")
|
||||
#SET(CMAKE_EXE_LINKER_FLAGS_GCOV "--coverage")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue