Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2162 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
Line 
1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Radar.cc
5  RadarListener.cc
6  RadarViewable.cc
7  Settings.cc
8  SignalHandler.cc
9
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
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
39  tolua/tolua_bind.cc
40
41  tools/BillboardSet.cc
42  tools/Light.cc
43  tools/Mesh.cc
44  tools/ParticleInterface.cc
45  tools/TextureGenerator.cc
46  tools/Timer.cc
47  tools/WindowEventListener.cc
48
49  objects/Ambient.cc
50  objects/Backlight.cc
51  objects/Camera.cc
52  objects/CameraHandler.cc
53  objects/Model.cc
54  objects/NPC.cc
55  objects/ParticleSpawner.cc
56  objects/Skybox.cc
57  objects/SpaceShip.cc
58  objects/SpaceShipAI.cc
59  objects/Tickable.cc
60  objects/WorldEntity.cc
61
62  objects/Projectile.cc
63  objects/BillboardProjectile.cc
64  objects/RotatingProjectile.cc
65  objects/ParticleProjectile.cc
66)
67
68GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
69ADD_CUSTOM_COMMAND(
70  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
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
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}
99  ${CEGUI_LIBRARIES}
100  lua_orxonox
101  ceguilua_orxonox
102  tinyxml_orxonox
103  tolualib_orxonox
104  ois_orxonox
105  util
106  core
107  audio
108  network
109)
110
Note: See TracBrowser for help on using the repository browser.