Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ceguilua/src/orxonox/CMakeLists.txt @ 1875

Last change on this file since 1875 was 1808, checked in by rgrieder, 16 years ago

Minor changes with cmake files. The whole thing compiles on tardis now

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