comparison CMakeLists.txt @ 357:dda9330aa711

Do not default to Profiling build type
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 01 Jul 2010 15:48:06 +0900
parents 4a5211430f63
children 9fa49025743f
comparison
equal deleted inserted replaced
356:e203fc0c95e3 357:dda9330aa711
35 35
36 # All source code should be POSIX 200112L compatible, but some other extensions might be used, so: 36 # All source code should be POSIX 200112L compatible, but some other extensions might be used, so:
37 ADD_DEFINITIONS(-D_GNU_SOURCE) 37 ADD_DEFINITIONS(-D_GNU_SOURCE)
38 38
39 # Add a "Profiling" build type 39 # Add a "Profiling" build type
40 SET(CMAKE_BUILD_TYPE Profiling) 40 # SET(CMAKE_BUILD_TYPE Profiling)
41 SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage") 41 SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage")
42 42
43 # Set the DEBUG flag for Debug and Profiling builds 43 # Set the DEBUG flag for Debug and Profiling builds
44 IF (CMAKE_BUILD_TYPE MATCHES "Debug|Profiling") 44 IF (CMAKE_BUILD_TYPE MATCHES "Debug|Profiling")
45 SET(DEBUG 1) 45 SET(DEBUG 1)
"Welcome to our mercurial repository"