From: Brendan Le Foll Date: Thu, 10 Jul 2014 21:03:11 +0000 (+0100) Subject: cmake: add -fno-omit-frame-pointer to CXX Debug flags X-Git-Tag: v0.4.2~12^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5845350283bdcb7a97496a3e180c976bc0ef0d22;p=contrib%2Fmraa.git cmake: add -fno-omit-frame-pointer to CXX Debug flags Signed-off-by: Thomas Ingleby --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dee9b80..d1b8449 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ project (mraa) FIND_PACKAGE (Threads) -set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall") +set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -fno-omit-frame-pointer") set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall") # Appends the cmake/modules path to MAKE_MODULE_PATH variable.