X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=fda32c1bbcac1ddd712ea748ef1658cbe20b2b80;hb=8c712205657ceceb8644065735b5fff06bedfbb5;hp=70f2ad379fc9f55d1aeed784e6cf853ddbb10764;hpb=224a49e95723b74640ac9f99f9d33be6ee3686d2;p=staging%2Fwindowmanager.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 70f2ad3..fda32c1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,3 @@ -wlproto(IVI_APP ivi-application) wlproto(IVI_CON ivi-controller) add_executable(winman @@ -7,7 +6,6 @@ add_executable(winman wayland.hpp util.c util.h - ${IVI_APP_PROTO} ${IVI_CON_PROTO}) target_compile_definitions(winman @@ -15,6 +13,12 @@ target_compile_definitions(winman WINMAN_VERSION_STRING="${PACKAGE_VERSION}" _GNU_SOURCE) # XXX should I define this here?! +if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") + target_compile_definitions(winman + PRIVATE + _GLIBCXX_DEBUG) +endif() + target_compile_options(winman PRIVATE -Wall -Wextra -Wno-unused-parameter -Wno-comment)