Changeset 19219 for trunk/FACT++


Ignore:
Timestamp:
09/08/18 19:20:54 (6 years ago)
Author:
tbretz
Message:
Default build type should be 'Release'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19218 r19219  
    88# Enable debug symbols by default
    99# must be done before project() statement
    10 #IF (NOT CMAKE_BUILD_TYPE)
    11 #       SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build (Debug or Release)" FORCE)
    12 #ENDIF()
    13 # (you can also set it on the command line: -D CMAKE_BUILD_TYPE=Release)
     10IF (NOT CMAKE_BUILD_TYPE)
     11        SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build (empty, ``Debug``, ``Release``, ``RelWithDebInfo`` and ``MinSizeRel``)" FORCE)
     12ENDIF()
     13# (you can also set it on the command line: -D CMAKE_BUILD_TYPE=Debug)
    1414
    1515# Enable CLANG as default compilers, to change this use
Note: See TracChangeset for help on using the changeset viewer.