Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2009, 9:40:33 AM (16 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
Location:
code/branches/buildsystem2/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/orxonox/CMakeLists.txt

    r2640 r2643  
    8686    SET(MSVC_PLATFORM "Win32")
    8787  ENDIF()
     88  STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?) .*$" "\\1"
     89         VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}")
    8890  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox.vcproj.user" "${CMAKE_CURRENT_BINARY_DIR}/orxonox.vcproj.user")
    8991ENDIF(MSVC)
  • code/branches/buildsystem2/src/orxonox/Settings.cc

    r2509 r2643  
    6363    void Settings::setConfigValues()
    6464    {
    65         SetConfigValue(dataPath_, "../../../media/").description("Relative path to the game data.").callback(this, &Settings::dataPathChanged);
     65        SetConfigValue(dataPath_, ORXONOX_MEDIA_PATH).description("Relative path to the game data.").callback(this, &Settings::dataPathChanged);
    6666    }
    6767
  • code/branches/buildsystem2/src/orxonox/gamestates/GSGraphics.cc

    r2639 r2643  
    100100        SetConfigValue(ogreConfigFile_,  "ogre.cfg")
    101101            .description("Location of the Ogre config file");
    102         SetConfigValue(ogrePluginsFolder_, ".")
     102        SetConfigValue(ogrePluginsFolder_, ORXONOX_OGRE_PLUGINS_FOLDER)
    103103            .description("Folder where the Ogre plugins are located.");
    104         SetConfigValue(ogrePlugins_, "RenderSystem_GL, Plugin_ParticleFX")
     104        SetConfigValue(ogrePlugins_, ORXONOX_OGRE_PLUGINS)
    105105            .description("Comma separated list of all plugins to load.");
    106106        SetConfigValue(ogreLogFile_,     "ogre.log")
  • code/branches/buildsystem2/src/orxonox/orxonox.vcproj.user

    r2621 r2643  
    22<VisualStudioUserFile
    33        ProjectType="Visual C++"
    4         Version="8.00"
     4        Version="${VISUAL_STUDIO_VERSION_SIMPLE}.00"
    55        ShowAllFiles="false"
    66        >
Note: See TracChangeset for help on using the changeset viewer.