Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3190 for code/branches


Ignore:
Timestamp:
Jun 17, 2009, 9:51:00 PM (15 years ago)
Author:
rgrieder
Message:

Optimised precompiled header files for core and network (optimised with MSVC9 and MinGW (GCC 3.4))

Location:
code/branches/pch/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/CorePrecompiledHeaders.h

    r3161 r3190  
    3030@file
    3131@brief
    32     Compilation of the most often used header files in the core library
     32    Compilation of the most often used header files in the core library for MSVC
    3333*/
    3434
    35 #include <cassert>
    36 #include <cmath>
    37 #include <cstdlib>
    38 #include <cctype>
    39 #include <climits>
     35#include "CorePrereqs.h"
    4036
    41 #include <string>
    42 #include <sstream>
    43 #include <vector>
     37#include <fstream>
    4438#include <iostream>
    4539#include <list>
     40#include <map>
    4641#include <set>
    47 #include <map>
    48 #include <fstream>
     42#include <sstream>
     43#include <string>
     44#include <vector>
    4945
    50 #include <OgreVector2.h>
    51 #include <OgreVector3.h>
    52 #include <OgreVector4.h>
    53 #include <OgreQuaternion.h>
    54 #include <OgreColourValue.h>
     46
     47#ifdef ORXONOX_COMPILER_MSVC
     48
     49#define WIN32_LEAN_AND_MEAN
     50#include <windows.h>
     51#undef max
     52#undef min
     53
    5554#include <ois/OISKeyboard.h>
    5655#include <ois/OISMouse.h>
    5756#include <ois/OISJoyStick.h>
    5857#include <tinyxml/ticpp.h>
     58// Included by both filesystem and thread but still relatively small
     59#include <boost/iterator/iterator_facade.hpp>
    5960
    60 // GCC may have problems with anonymous namespaces in certain situations
    61 #if !(defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 420))
    62 #  include "util/Convert.h"
    63 #endif
     61#endif /* ORXONOX_COMPILER_MSVC */
     62
     63
     64#include "util/Convert.h"
    6465#include "util/Debug.h"
    6566#include "util/Exception.h"
    6667#include "util/Math.h"
     68#include "util/mbool.h"
    6769#include "util/MultiType.h"
     70#include "util/OrxAssert.h"
     71#include "util/OrxEnum.h"
    6872#include "util/String.h"
    6973#include "util/SubString.h"
    7074
    71 // A change would trigger a 80% Core rebuild anyway
     75
     76#ifdef ORXONOX_COMPILER_MSVC
     77
     78// A change would trigger an 80% Core rebuild anyway
    7279#include "Identifier.h"
     80
     81#endif /*ORXONOX_COMPILER_MSVC */
  • code/branches/pch/src/network/CMakeLists.txt

    r3116 r3190  
    4242  DEFINE_SYMBOL
    4343    "NETWORK_SHARED_BUILD"
     44  PCH_FILE
     45    NetworkPrecompiledHeaders.h
    4446  LINK_LIBRARIES
    4547    ${ZLIB_LIBRARY}
Note: See TracChangeset for help on using the changeset viewer.