Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 8, 2009, 12:10:57 AM (16 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.

Location:
code/branches/buildsystem2/src/orxonox/gamestates
Files:
2 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();
  • code/branches/buildsystem2/src/orxonox/gamestates/GSRoot.cc

    r2171 r2639  
    4444#include "Settings.h"
    4545
    46 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     46#ifdef ORXONOX_PLATFORM_WINDOWS
    4747#  ifndef WIN32_LEAN_AND_MEAN
    4848#    define WIN32_LEAN_AND_MEAN
     
    165165    void GSRoot::setThreadAffinity(unsigned int limitToCPU)
    166166    {
    167 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     167#ifdef ORXONOX_PLATFORM_WINDOWS
    168168        // Get the current process core mask
    169169            DWORD procMask;
Note: See TracChangeset for help on using the changeset viewer.