From 430666c22acfddff03863a35902380987080f1f3 Mon Sep 17 00:00:00 2001 From: Mu-Woong Lee Date: Mon, 29 May 2017 13:43:49 +0900 Subject: [PATCH] Add build options for colored diagnostics & non-verbose makefile Change-Id: If8b9b323a2798ea416ab6eea3aad63a1f9cc3751 Signed-off-by: Mu-Woong Lee --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index db9fe5c..49d5907 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) -- 2.7.4