Add compile options to suppress verbose messages and enable colored diagnostics 61/125261/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 14 Apr 2017 08:52:36 +0000 (17:52 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 14 Apr 2017 08:52:36 +0000 (17:52 +0900)
Change-Id: I7e62291e6f51c68f99f1f8c6d72c773a961151fc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt

index 3fba89b..1830936 100644 (file)
@@ -13,8 +13,10 @@ INCLUDE_DIRECTORIES(
 )
 
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
+ADD_DEFINITIONS(-fdiagnostics-color)
 ADD_DEFINITIONS(-DLOG_TAG="CONTEXT-SCHED")
 SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections")
+SET(CMAKE_VERBOSE_MAKEFILE OFF)
 
 SET(VERSION ${FULLVER})
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})