Add compile options to suppress verbose messages and enable colored 67/125267/1
authorkibak.yoon <kibak.yoon@samsung.com>
Fri, 14 Apr 2017 09:05:13 +0000 (18:05 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 14 Apr 2017 09:05:13 +0000 (18:05 +0900)
diagnostics

Change-Id: Iec20dcd50443f7733f46c42a1eac1aac7d50432e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
CMakeLists.txt

index 94cb00a..745ada6 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-SENSOR")
 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})