An Overlay-based
Virtual Network Substrate
SpoVNet

Changeset 12349 for CMakeLists.txt


Ignore:
Timestamp:
Aug 31, 2013, 11:26:19 AM (6 years ago)
Author:
s_taenzer@…
Message:

CMake: Clean up build configuration stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r12060 r12349  
    5252
    5353
    54 ## Add build type: Profiling ##
     54# Add build type: Profiling
    5555SET( CMAKE_CXX_FLAGS_PROFILING "-O2 -g -pg" CACHE STRING
    5656    "Flags used by the C++ compiler during profiling builds."
     
    7272    CMAKE_EXE_LINKER_FLAGS_PROFILING
    7373    CMAKE_SHARED_LINKER_FLAGS_PROFILING )
    74 # Update the documentation string of CMAKE_BUILD_TYPE for GUIs
    75 #SET( CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
    76 #    "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel Profiling."
    77 #    FORCE )
    78 ## [Add build type: Profiling] ##
    79 
    80 ## set default build type
     74
     75# set default build type
    8176IF(NOT CMAKE_BUILD_TYPE)
    8277   SET(CMAKE_BUILD_TYPE Release
     
    8479       FORCE)
    8580ENDIF(NOT CMAKE_BUILD_TYPE)
    86 message("---> Current build type is: ${CMAKE_BUILD_TYPE}")
    87 
    88 
    89 
     81message(STATUS "Current build type is: ${CMAKE_BUILD_TYPE}")
    9082
    9183## Provide some choices for CMAKE_BUILD_TYPE
    92 #set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
    93 #    "" Release Debug RelWithDebInfo MinSizeRel)
     84set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
     85    "" Release Debug RelWithDebInfo MinSizeRel Profiling)
     86
     87
    9488
    9589# Explicitly add BUILD_SHARED_LIBS to the user interface and default to on
Note: See TracChangeset for help on using the changeset viewer.