Mercurial > hg > freeDiameter
comparison CMakeLists.txt @ 594:0758a357a151
Added a new MaxPerformance build type for tests, not recommended for use
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 02 Nov 2010 09:59:36 +0900 |
parents | 144eeab1e3a4 |
children | 18c4a738e3e9 |
comparison
equal
deleted
inserted
replaced
593:1a1b8e885945 | 594:0758a357a151 |
---|---|
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 -fstack-protector -g -Wall") | 41 SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage -fstack-protector -g -Wall") |
42 | 42 |
43 # Add a "MaxPerformance" build type -- this is very silent... | |
44 # SET(CMAKE_BUILD_TYPE MaxPerformance) | |
45 SET(CMAKE_C_FLAGS_MAXPERFORMANCE "${CMAKE_C_FLAGS_RELEASE} -DSTRIP_DEBUG_CODE") | |
46 | |
43 # Add a "DebianPackage" build type used when creating the Debian packages | 47 # Add a "DebianPackage" build type used when creating the Debian packages |
44 SET(CMAKE_C_FLAGS_DEBIANPACKAGE "${CMAKE_C_FLAGS_RELWITHDEBINFO}") | 48 SET(CMAKE_C_FLAGS_DEBIANPACKAGE "${CMAKE_C_FLAGS_RELWITHDEBINFO}") |
45 | 49 |
46 # Add a "DebugValgrind" build type used for checking execution with Valgrind tool | 50 # Add a "DebugValgrind" build type used for checking execution with Valgrind tool |
47 SET(CMAKE_C_FLAGS_DEBUGVALGRIND "-Wall -g -O0") | 51 SET(CMAKE_C_FLAGS_DEBUGVALGRIND "-Wall -g -O0") |