Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2011, 4:36:04 AM (13 years ago)
Author:
rgrieder
Message:

To avoid further confusion, I linked ORXONOX_RELEASE to the 'Release' and 'MinSizeRel' configurations. The variable is therefore not anymore available in CMake.
That means defining what these configurations actually mean in the context of Orxonox:

Debug: No optimisations and additional debug information. NOT distributable.
RelWithDebInfo: Optimisations enabled, but also generates debug information. Should be the default mode for development.
Release: With optimisations, but no debug symbols. Use this configuration to make a release binary.
MinSizeRel: Like Release, but optimised for size instead of speed. Not really useful for us.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/CMakeLists.txt

    r8351 r8363  
    111111INSTALL(SCRIPT cmake/InstallCheck.cmake)
    112112
    113 # Enable expensive optimisations: use this for a binary release build
    114 OPTION(ORXONOX_RELEASE "Enable when building restributable releases" FALSE)
    115 
    116113IF(APPLE)
    117114  # Set 10.5 as the base SDK by default
Note: See TracChangeset for help on using the changeset viewer.