From: Kazumasa Mitsunari Date: Wed, 22 Aug 2018 04:44:31 +0000 (+0900) Subject: Remove useless definiition X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=211b7c71bd06b3624ef695ec60451a53f0572a20;p=apps%2Fagl-service-windowmanager-2017.git Remove useless definiition Change-Id: I52eb2ec72e05191c88343eb16e6d12a00ad5667f Signed-off-by: Kazumasa Mitsunari --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e1cb0db..7e1cee1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,22 +59,6 @@ macro(wlproto var_basename proto_xml_basename) include_directories(${CMAKE_CURRENT_BINARY_DIR}) endmacro() -# Should modernize the following somehow... -set(ENABLE_DEBUG_OUTPUT OFF CACHE BOOL "Enable debug logging") -if(ENABLE_DEBUG_OUTPUT) - add_definitions(-DDEBUG_OUTPUT) -else() - remove_definitions(-DDEBUG_OUTPUT) -endif() - -# Should modernize the following somehow... -set(ENABLE_SCOPE_TRACING OFF CACHE BOOL "Enable scope enter/leave messages for certain parts of the code.") -if(ENABLE_SCOPE_TRACING) - add_definitions(-DSCOPE_TRACING) -else() - remove_definitions(-DSCOPE_TRACING) -endif() - set(SANITIZER_MODE "none" CACHE STRING "Build using a specific sanitizer (e.g. 'address', 'thread', 'leak', 'undefined'), depends on compiler; default none") set(LINK_LIBCXX OFF CACHE BOOL "Link against LLVMs libc++")