From b32a846828a571a214c0613775b57cc54d5f1081 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 12 Jan 2014 16:30:22 -0500 Subject: [PATCH] Code Cleanup - Removed unnecessary cmake processing for shell. --- src/shell/CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/shell/CMakeLists.txt b/src/shell/CMakeLists.txt index 69450e47d..654b08325 100644 --- a/src/shell/CMakeLists.txt +++ b/src/shell/CMakeLists.txt @@ -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")