Add build options for colored diagnostics & non-verbose makefile 07/131407/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 29 May 2017 04:43:49 +0000 (13:43 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 29 May 2017 04:43:49 +0000 (13:43 +0900)
Change-Id: If8b9b323a2798ea416ab6eea3aad63a1f9cc3751
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt

index db9fe5c..49d5907 100644 (file)
@@ -19,7 +19,9 @@ INCLUDE_DIRECTORIES(
        ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/context-service/private
 )
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
+ADD_DEFINITIONS(-fdiagnostics-color)
 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)
 
 # Building Library
 pkg_check_modules(api_pkg REQUIRED ${DEPS})