changeset 359:9fa49025743f

Added -g flag in Profiling mode
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 01 Jul 2010 16:03:50 +0900
parents 7ea43915cade
children 1740bee6c821
files CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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")
"Welcome to our mercurial repository"