Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 1, 2011, 3:09:28 AM (13 years ago)
Author:
rgrieder
Message:

Added CMake configuration type "RelForDevs", which replaces "RelWithDebInfo". That latter is now equivalent to "Release", but with symbols.
Also, I removed debug symbol generation for Release and MinSizeRel when compiling with MSVC.

The new configuration should be used as standard Release mode when developing. The other three release configurations are for actual installed binaries (and behave again as the name suggests).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/OrxonoxConfig.h.in

    r8363 r8368  
    179179*/
    180180
    181 // Configurations Release and MinSizeRel are designed for redistribution while
    182 // RelWithDebInfo is more for development
     181// Configurations Release, RelWithDebInfo and MinSizeRel are designed for
     182// redistribution while RelForDevs is for development purposes
    183183// ORXONOX_RELEASE simplifies this a little bit
    184 #if defined(CMAKE_Release_BUILD) || defined(CMAKE_MinSizeRel_BUILD)
     184#if defined(CMAKE_Release_BUILD) || defined(CMAKE_MinSizeRel_BUILD) \
     185    || defined(CMAKE_RelWithDebInfo_BUILD)
    185186#  define ORXONOX_RELEASE
    186187#endif
Note: See TracChangeset for help on using the changeset viewer.