Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5871 for code/branches/core5


Ignore:
Timestamp:
Oct 4, 2009, 6:06:33 PM (15 years ago)
Author:
rgrieder
Message:

Compiling our third party libraries with as few files as possible. There should be quite a speedup.

Location:
code/branches/core5
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/cmake/SourceFileUtilities.cmake

    r5870 r5871  
    4747        MESSAGE(FATAL_ERROR "No name provided for source file compilation")
    4848      ENDIF()
     49      SET(_include_string)
    4950      FOREACH(_file2 ${_compilation})
    50         SET(_include_string "${_include_string}\n#include \"${_file2}\"")
     51        SET(_include_string "${_include_string}#include \"${_file2}\"\n")
    5152      ENDFOREACH(_file2)
    5253      IF(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/${_compilation_name})
  • code/branches/core5/src/external/bullet/BulletCollision/CMakeLists.txt

    r5738 r5871  
    11ADD_SOURCE_FILES(BULLET_FILES
     2
     3COMPILATION_BEGIN BulletCollisionCompilation.cpp
     4
    25        BroadphaseCollision/btAxisSweep3.cpp
    36        BroadphaseCollision/btBroadphaseProxy.cpp
     
    6871        Gimpact/btContactProcessing.cpp
    6972        Gimpact/btGImpactShape.cpp
    70         Gimpact/gim_contact.cpp
    7173        Gimpact/btGImpactBvh.cpp
    7274        Gimpact/btGenericPoolAllocator.cpp
    73         Gimpact/gim_memory.cpp
    7475        Gimpact/btGImpactCollisionAlgorithm.cpp
    7576        Gimpact/btTriangleShapeEx.cpp
    76         Gimpact/gim_tri_collision.cpp
    7777        Gimpact/btGImpactQuantizedBvh.cpp
    78         Gimpact/gim_box_set.cpp
    7978
    8079        NarrowPhaseCollision/btContinuousConvexCollision.cpp
     
    8988        NarrowPhaseCollision/btSubSimplexConvexCast.cpp
    9089        NarrowPhaseCollision/btVoronoiSimplexSolver.cpp
     90
     91COMPILATION_END
     92
     93COMPILATION_BEGIN BulletGImpactCompilation.cpp
     94        Gimpact/gim_contact.cpp
     95        Gimpact/gim_memory.cpp
     96        Gimpact/gim_tri_collision.cpp
     97        Gimpact/gim_box_set.cpp
     98COMPILATION_END
    9199
    92100        # Headers
  • code/branches/core5/src/external/bullet/BulletDynamics/CMakeLists.txt

    r5738 r5871  
    11ADD_SOURCE_FILES(BULLET_FILES
     2
     3COMPILATION_BEGIN BulletDynamicsCompilation.cpp
     4
    25        ConstraintSolver/btContactConstraint.cpp
    36        ConstraintSolver/btConeTwistConstraint.cpp
     
    1922
    2023        Character/btKinematicCharacterController.cpp
     24
     25COMPILATION_END
    2126
    2227        # Headers
  • code/branches/core5/src/external/bullet/CMakeLists.txt

    r5749 r5871  
    3434  ORXONOX_EXTERNAL
    3535  NO_DLL_INTERFACE
    36   PCH_FILE
    37     BulletPrecompiledHeaders.h
    3836  VERSION
    3937    2.74
  • code/branches/core5/src/external/bullet/LinearMath/CMakeLists.txt

    r5738 r5871  
    11ADD_SOURCE_FILES(BULLET_FILES
     2
     3COMPILATION_BEGIN BulletLinearMathCompilation.cpp
    24                btConvexHull.cpp
    35                btQuickprof.cpp
    46                btGeometryUtil.cpp
    57                btAlignedAllocator.cpp
     8COMPILATION_END
    69
    710                # Headers
  • code/branches/core5/src/external/ogreceguirenderer/CMakeLists.txt

    r5738 r5871  
    1818 #
    1919
    20 SET(OCR_FILES
     20SET_SOURCE_FILES(OCR_FILES
    2121  OgreCEGUIRenderer.h
    2222  OgreCEGUIResourceProvider.h
    2323  OgreCEGUITexture.h
    2424
     25COMPILATION_BEGIN OgreCEGUIRendererCompilation.cpp
    2526  OgreCEGUIRenderer.cpp
    2627  OgreCEGUIResourceProvider.cpp
    2728  OgreCEGUITexture.cpp
     29COMPILATION_END
    2830)
    2931
  • code/branches/core5/src/external/ois/CMakeLists.txt

    r5738 r5871  
    3434  OISPrereqs.h
    3535
     36COMPILATION_BEGIN OISCompilation.cpp
    3637  OISEffect.cpp
    3738  OISException.cpp
     
    4142  OISKeyboard.cpp
    4243  OISObject.cpp
     44COMPILATION_END
    4345)
    4446IF(WIN32)
  • code/branches/core5/src/external/ois/linux/CMakeLists.txt

    r5738 r5871  
    88  LinuxPrereqs.h
    99
     10COMPILATION_BEGIN OISLinuxCompilation.cpp
    1011  EventHelpers.cpp
    1112  LinuxForceFeedback.cpp
     
    1415  LinuxKeyboard.cpp
    1516  LinuxMouse.cpp
     17COMPILATION_END
    1618)
  • code/branches/core5/src/external/ois/mac/CMakeLists.txt

    r5738 r5871  
    77  MacPrereqs.h
    88
     9COMPILATION_BEGIN OISMacCompilation.cpp
    910  MacHelpers.cpp
    1011  MacHIDManager.cpp
     
    1213  MacKeyboard.cpp
    1314  MacMouse.cpp
     15COMPILATION_END
    1416)
  • code/branches/core5/src/external/ois/win32/CMakeLists.txt

    r5738 r5871  
    77  Win32Prereqs.h
    88
     9COMPILATION_BEGIN OISWin32Compilation.cpp
    910  Win32ForceFeedback.cpp
    1011  Win32InputManager.cpp
     
    1213  Win32KeyBoard.cpp
    1314  Win32Mouse.cpp
     15COMPILATION_END
    1416)
  • code/branches/core5/src/external/tinyxml/CMakeLists.txt

    r5738 r5871  
    1818 #
    1919
    20 SET(TINYXML++_FILES
     20SET_SOURCE_FILES(TINYXML++_FILES
    2121  ticpp.h
    2222  ticpprc.h
     
    2424  tinyxml.h
    2525
     26COMPILATION_BEGIN TicppCompilation.cpp
    2627  ticpp.cpp
    2728  tinystr.cpp
     
    2930  tinyxmlerror.cpp
    3031  tinyxmlparser.cpp
     32COMPILATION_END
    3133)
    3234
  • code/branches/core5/src/external/tolua/CMakeLists.txt

    r5738 r5871  
    2020################### Tolua++ library ###################
    2121
    22 SET(TOLUA++_FILES
     22SET_SOURCE_FILES(TOLUA++_FILES
    2323  tolua_event.h
    2424  tolua++.h
    25 
     25COMPILATION_BEGIN ToluaCompilation.c
    2626  tolua_event.c
    2727  tolua_is.c
     
    2929  tolua_push.c
    3030  tolua_to.c
     31COMPILATION_END
    3132)
    32 GENERATE_SOURCE_GROUPS(${TOLUA++_FILES})
    3333
    3434# No warnings needed from third party libraries
Note: See TracChangeset for help on using the changeset viewer.