Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/CMakeLists.txt @ 1915

Last change on this file since 1915 was 1844, checked in by rgrieder, 16 years ago

Removed ois dependency from orxonox and removed lua dependency from util

  • Property svn:eol-style set to native
File size: 2.4 KB
RevLine 
[1505]1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
[1535]4  Settings.cc
[1747]5  SignalHandler.cc
[1505]6
[1755]7  gamestates/GSClient.cc
8  gamestates/GSDedicated.cc
9  gamestates/GSGraphics.cc
10  gamestates/GSGUI.cc
11  gamestates/GSIOConsole.cc
12  gamestates/GSLevel.cc
13  gamestates/GSRoot.cc
14  gamestates/GSServer.cc
15  gamestates/GSStandalone.cc
16
17  gui/GUIManager.cc
18  gui/OgreCEGUIRenderer.cpp
19  gui/OgreCEGUIResourceProvider.cpp
20  gui/OgreCEGUITexture.cpp
21
[1625]22  overlays/OrxonoxOverlay.cc
23  overlays/OverlayGroup.cc
24  overlays/OverlayText.cc
25
26  overlays/console/InGameConsole.cc
27
28  overlays/debug/DebugFPSText.cc
29  overlays/debug/DebugRTRText.cc
30
31  overlays/hud/HUDBar.cc
32  overlays/hud/HUDNavigation.cc
33  overlays/hud/HUDRadar.cc
34  overlays/hud/HUDSpeedBar.cc
35
[1505]36  tools/BillboardSet.cc
37  tools/Light.cc
38  tools/Mesh.cc
[1553]39  tools/ParticleInterface.cc
[1625]40  tools/TextureGenerator.cc
[1505]41  tools/Timer.cc
[1625]42  tools/WindowEventListener.cc
[1505]43
44  objects/Ambient.cc
[1608]45  objects/Backlight.cc
[1505]46  objects/Camera.cc
47  objects/CameraHandler.cc
48  objects/Model.cc
49  objects/NPC.cc
[1552]50  objects/ParticleSpawner.cc
[1817]51  objects/Radar.cc
52  objects/RadarListener.cc
53  objects/RadarViewable.cc
[1505]54  objects/Skybox.cc
55  objects/SpaceShip.cc
56  objects/SpaceShipAI.cc
[1535]57  objects/Tickable.cc
[1505]58  objects/WorldEntity.cc
59
[1552]60  objects/Projectile.cc
61  objects/BillboardProjectile.cc
62  objects/RotatingProjectile.cc
63  objects/ParticleProjectile.cc
[1844]64
65  tolua/tolua_bind.cc
[1505]66)
67
[1810]68GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
[1505]69ADD_CUSTOM_COMMAND(
[1843]70  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
[1755]71  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
[1815]72  DEPENDS
73    tolua_orxonox
74    tolua/tolua.pkg
75    gui/GUIManager.h
[1505]76  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
77)
78       
79ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
80
81IF(NETWORKTRAFFIC_TESTING_ENABLED)
82
83  SET( ORXONOXS_SRC_FILES
84    GraphicsEngine.cc
85    objects/Ambient.cc
86    objects/Camera.cc
87    objects/CameraHandler.cc
88    objects/Explosion.cc
89    objects/Model.cc
90    objects/NPC.cc
91    objects/Projectile.cc
92    objects/Skybox.cc
93    objects/SpaceShip.cc
94    objects/WorldEntity.cc
95  )
96
97  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
98ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
99
100TARGET_LINK_LIBRARIES( orxonox
101  ${OGRE_LIBRARIES}
[1755]102  ${CEGUI_LIBRARIES}
[1810]103  lua_orxonox
104  ceguilua_orxonox
105  tinyxml_orxonox
106  tolualib_orxonox
[1505]107  util
108  core
109  audio
110  network
111)
112
Note: See TracBrowser for help on using the repository browser.