Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8363 for code/trunk/cmake


Ignore:
Timestamp:
Apr 30, 2011, 4:36:04 AM (14 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/cmake/tools/GenerateToluaBindings.cmake

    r8351 r8363  
    6363  ENDIF()
    6464
    65   # Tolua binding speedup if required
    66   IF(ORXONOX_RELEASE)
    67     SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES COMPILE_FLAGS "-DTOLUA_RELEASE")
    68   ENDIF()
    69 
    7065  # Create temporary package file and implicit dependencies
    7166  FILE(REMOVE ${_tolua_pkgfile})
Note: See TracChangeset for help on using the changeset viewer.