Add compile options to suppress verbose messages and enable colored diagnostics 70/125270/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 14 Apr 2017 09:18:35 +0000 (18:18 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 14 Apr 2017 09:18:35 +0000 (18:18 +0900)
Change-Id: Icd64cc069336202e1b910c687b14ecd0b792076c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt

index dd4a656..c9d1849 100644 (file)
@@ -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)