Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2009, 9:40:33 AM (15 years ago)
Author:
rgrieder
Message:
  • Default config values for OGRE plugins, the plugins folder and the media directory are now configured in OrxonoxConfig.h
  • You should not need a preconfigured orxonox.ini anymore after installation
  • Small bugfixes in compiler flags and visual studio project generation
  • probable bugfix in FlagUtilities.cmake
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/OrxonoxConfig.h.in

    r2639 r2643  
    2727 *   Original code: OgrePlatform.h, licensed under the LGPL. The code
    2828 *   has changed almost completely though.
     29 *
     30 *   Caution: Do not configure this file CMake configuration (Debug, Release, etc.)
     31 *            dependent! XCode and Visual Studio have the same file for all.
    2932 *
    3033 */
     
    139142 * Includes
    140143 *-------------------------------*/
    141 /* Set whether we must suffix "ceguilua/" for the CEGUILua.h include */
    142 #cmakedefine CEGUILUA_USE_INTERNAL_LIBRARY
    143 
    144144/* Define the english written operators like and, or, xor
    145145 * This is C++ standard, but the Microsoft compiler doesn't define them. */
     
    174174#endif
    175175
     176
     177/*---------------------------------
     178 * Various Settings
     179 *-------------------------------*/
     180/* Set whether we must suffix "ceguilua/" for the CEGUILua.h include */
     181#cmakedefine CEGUILUA_USE_INTERNAL_LIBRARY
     182
     183/* Defined if a precompiled depdency package was used. We then copy all libraries
     184   too when installing. */
     185#cmakedefine USE_DEPENDENCY_PACKAGE
     186
     187/* Handle default ConfigValues */
     188namespace orxonox
     189{
     190    const char* const ORXONOX_MEDIA_PATH("@ORXONOX_MEDIA_DIRECTORY@");
     191   
     192#ifdef NDEBUG
     193    const char* const ORXONOX_OGRE_PLUGINS("@OGRE_PLUGINS_RELEASE@");
     194#  ifdef USE_DEPENDENCY_PACKAGE
     195    const char* const ORXONOX_OGRE_PLUGINS_FOLDER(".");
     196#  elif
     197    const char* const ORXONOX_OGRE_PLUGINS_FOLDER("@OGRE_PLUGINS_FOLDER_RELEASE@");
     198#  endif
     199#else
     200    const char* const ORXONOX_OGRE_PLUGINS("@OGRE_PLUGINS_DEBUG@");
     201#  ifdef USE_DEPENDENCY_PACKAGE
     202    const char* const ORXONOX_OGRE_PLUGINS_FOLDER(".");
     203#  elif
     204    const char* const ORXONOX_OGRE_PLUGINS_FOLDER("@OGRE_PLUGINS_FOLDER_DEBUG@");
     205#  endif
     206#endif
     207}
     208
     209
    176210#endif /* _OrxonoxConfig_H__ */
Note: See TracChangeset for help on using the changeset viewer.