Changeset 8363 for code/trunk/src
- Timestamp:
- Apr 30, 2011, 4:36:04 AM (14 years ago)
- Location:
- code/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/OrxonoxConfig.cmake
r8351 r8363 72 72 SET(ORX_HAVE_STDINT_H ${HAVE_STDINT_H}) 73 73 74 # XCode and Visual Studio support multiple configurations. In order to tell 75 # about the active one we have to define the macro for each configuration 76 ADD_COMPILER_FLAGS("-DCMAKE_Debug_BUILD" Debug) 77 ADD_COMPILER_FLAGS("-DCMAKE_Release_BUILD" Release) 78 ADD_COMPILER_FLAGS("-DCMAKE_RelWithDebInfo_BUILD" RelWithDebInfo) 79 ADD_COMPILER_FLAGS("-DCMAKE_MinSizeRel_BUILD" MinSizeRel) 80 74 81 IF(MSVC) 75 82 # Check whether we can use Visual Leak Detector -
code/trunk/src/OrxonoxConfig.h.in
r8351 r8363 143 143 * Apple Settings 144 144 *-------------------------------*/ 145 146 147 /*---------------------------------148 * Options149 *-------------------------------*/150 #cmakedefine ORXONOX_RELEASE ///< Enables expensive (build time) optimisations and disables certain features151 145 152 146 … … 185 179 */ 186 180 181 // Configurations Release and MinSizeRel are designed for redistribution while 182 // RelWithDebInfo is more for development 183 // ORXONOX_RELEASE simplifies this a little bit 184 #if defined(CMAKE_Release_BUILD) || defined(CMAKE_MinSizeRel_BUILD) 185 # define ORXONOX_RELEASE 186 #endif 187 187 188 // Include memory leak detector if available and not building actual release 188 189 #cmakedefine HAVE_VLD 189 #if defined(HAVE_VLD) && !defined( ORXONOX_RELEASE)190 #if defined(HAVE_VLD) && !defined(NDEBUG) 190 191 typedef uint32_t UINT32; 191 192 typedef wchar_t WCHAR; -
code/trunk/src/external/tolua/lua/package.lua
r8351 r8363 135 135 i = i+1 136 136 end 137 138 output('\n') 139 output('#ifdef ORXONOX_RELEASE\n') 140 output('# define TOLUA_RELEASE\n') 141 output('#endif\n') 137 142 138 143 if self:requirecollection(_collect) then
Note: See TracChangeset
for help on using the changeset viewer.