From: Mu-Woong Lee Date: Fri, 14 Apr 2017 09:18:35 +0000 (+0900) Subject: Add compile options to suppress verbose messages and enable colored diagnostics X-Git-Tag: submit/tizen/20170420.102501^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F125270%2F1;p=platform%2Fcore%2Fcontext%2Fcontext-service.git Add compile options to suppress verbose messages and enable colored diagnostics Change-Id: Icd64cc069336202e1b910c687b14ecd0b792076c Signed-off-by: Mu-Woong Lee --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dd4a656..c9d1849 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,9 @@ PROJECT(context-service) INCLUDE(GNUInstallDirs) ADD_DEFINITIONS(-O2 -Wall -fPIC -fPIE -fdata-sections -ffunction-sections -fvisibility=hidden) +ADD_DEFINITIONS(-fdiagnostics-color) SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -pie -Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections") +SET(CMAKE_VERBOSE_MAKEFILE OFF) ADD_SUBDIRECTORY(src/server) ADD_SUBDIRECTORY(src/agent)