# HG changeset patch # User Sebastien Decugis # Date 1277967830 -32400 # Node ID 9fa49025743f9e7a744c14acb4534df639fefa0c # Parent 7ea43915cade70185338093123979d2b738a18f0 Added -g flag in Profiling mode diff -r 7ea43915cade -r 9fa49025743f CMakeLists.txt --- a/CMakeLists.txt Thu Jul 01 16:02:43 2010 +0900 +++ b/CMakeLists.txt Thu Jul 01 16:03:50 2010 +0900 @@ -38,7 +38,7 @@ # Add a "Profiling" build type # SET(CMAKE_BUILD_TYPE Profiling) -SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage") +SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage -g") # Set the DEBUG flag for Debug and Profiling builds IF (CMAKE_BUILD_TYPE MATCHES "Debug|Profiling")