Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 8, 2009, 12:10:57 AM (15 years ago)
Author:
rgrieder
Message:

Cleanup in OrxonoxConfig.h.in. Made use of various CMake features like CheckInclude or CheckCompiles to determine some options and macros in the config header file.

Also removed util/Integers.h and placed the code directory in OrxonoxConfig.h.in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/orxonox/gamestates/GSGraphics.cc

    r2534 r2639  
    217217        delete this->ogreRoot_;
    218218
    219 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     219#ifdef ORXONOX_PLATFORM_WINDOWS
    220220        // delete the ogre log and the logManager (since we have created it).
    221221        this->ogreLogger_->getDefaultLog()->removeListener(this);
     
    307307
    308308        // TODO: LogManager doesn't work on oli platform. The why is yet unknown.
    309 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     309#ifdef ORXONOX_PLATFORM_WINDOWS
    310310        // create a new logManager
    311311        ogreLogger_ = new Ogre::LogManager();
     
    355355
    356356#if 0 // Ogre 1.4.3 doesn't yet support setDebugOutputEnabled(.)
    357 #if ORXONOX_PLATFORM != ORXONOX_PLATFORM_WIN32
     357#ifndef ORXONOX_PLATFORM_WINDOWS
    358358        // tame the ogre ouput so we don't get all the mess in the console
    359359        Ogre::Log* defaultLog = Ogre::LogManager::getSingleton().getDefaultLog();
Note: See TracChangeset for help on using the changeset viewer.