Changeset 1287:38b0e251b821 in freeDiameter for CMakeLists.txt
- Timestamp:
- May 3, 2015, 9:55:18 PM (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r1285 r1287 40 40 # All source code should be POSIX 200112L compatible, but some other extensions might be used, so: 41 41 ADD_DEFINITIONS(-D_GNU_SOURCE) 42 43 # Set a default build type if none was specified 44 if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) 45 message(STATUS "Setting build type to 'Debug' as none was specified.") 46 set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) 47 # Set the possible values of build type for cmake-gui 48 set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" 49 "MinSizeRel" "RelWithDebInfo" "Profiling" "MaxPerformance" "DebianPackage" "DebugValgrind") 50 endif() 42 51 43 52 # Add a "Profiling" build type
Note: See TracChangeset
for help on using the changeset viewer.