Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network/src/orxonox/CMakeLists.txt @ 2145

Last change on this file since 2145 was 2044, checked in by landauf, 16 years ago

added some new graphical classes

  • Property svn:eol-style set to native
File size: 2.9 KB
Line 
1SET( ORXONOX_SRC_FILES
2  CameraHandler.cc
3  GraphicsEngine.cc
4  LevelManager.cc
5  Main.cc
6  Settings.cc
7
8  gamestates/GSClient.cc
9  gamestates/GSDedicated.cc
10  gamestates/GSGraphics.cc
11  gamestates/GSGUI.cc
12  gamestates/GSIOConsole.cc
13  gamestates/GSLevel.cc
14  gamestates/GSRoot.cc
15  gamestates/GSServer.cc
16  gamestates/GSStandalone.cc
17
18  gui/GUIManager.cc
19  gui/OgreCEGUIRenderer.cpp
20  gui/OgreCEGUIResourceProvider.cpp
21  gui/OgreCEGUITexture.cpp
22
23  overlays/OrxonoxOverlay.cc
24  overlays/OverlayGroup.cc
25  overlays/OverlayText.cc
26
27  overlays/console/InGameConsole.cc
28
29  overlays/debug/DebugFPSText.cc
30  overlays/debug/DebugRTRText.cc
31
32  overlays/hud/HUDBar.cc
33  overlays/hud/HUDNavigation.cc
34  overlays/hud/HUDRadar.cc
35  overlays/hud/HUDSpeedBar.cc
36  overlays/hud/ChatOverlay.cc
37
38  tools/BillboardSet.cc
39  tools/Mesh.cc
40  tools/ParticleInterface.cc
41  tools/TextureGenerator.cc
42  tools/Timer.cc
43  tools/WindowEventListener.cc
44
45  objects/Radar.cc
46  objects/RadarListener.cc
47  objects/RadarViewable.cc
48  objects/Tickable.cc
49  objects/Test.cc
50  objects/Script.cc
51
52  objects/Scene.cc
53  objects/worldentities/WorldEntity.cc
54  objects/worldentities/PositionableEntity.cc
55  objects/worldentities/MovableEntity.cc
56  objects/worldentities/ControllableEntity.cc
57  objects/worldentities/Model.cc
58  objects/worldentities/Billboard.cc
59  objects/worldentities/BlinkingBillboard.cc
60  objects/worldentities/Light.cc
61  objects/worldentities/Camera.cc
62  objects/worldentities/CameraPosition.cc
63  objects/worldentities/SpawnPoint.cc
64#  objects/worldentities/Backlight.cc
65#  objects/worldentities/ParticleSpawner.cc
66
67  objects/worldentities/triggers/Trigger.cc
68  objects/worldentities/triggers/DistanceTrigger.cc
69
70  objects/worldentities/pawns/Spectator.cc
71  objects/worldentities/pawns/Pawn.cc
72  objects/worldentities/pawns/SpaceShip.cc
73
74  objects/controllers/Controller.cc
75  objects/controllers/HumanController.cc
76
77  objects/infos/Info.cc
78  objects/infos/Level.cc
79  objects/infos/PlayerInfo.cc
80  objects/infos/HumanPlayer.cc
81
82  objects/gametypes/Gametype.cc
83
84  tolua/tolua_bind.cc
85)
86
87GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
88ADD_CUSTOM_COMMAND(
89  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
90  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
91  DEPENDS
92    tolua_orxonox
93    tolua/tolua.pkg
94    gui/GUIManager.h
95  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
96)
97
98
99ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
100
101IF(NETWORKTRAFFIC_TESTING_ENABLED)
102
103  SET( ORXONOXS_SRC_FILES
104    GraphicsEngine.cc
105    objects/Camera.cc
106    objects/CameraHandler.cc
107  )
108
109  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
110ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
111
112TARGET_LINK_LIBRARIES( orxonox
113  ${OGRE_LIBRARIES}
114  ${CEGUI_LIBRARIES}
115  lua_orxonox
116  ceguilua_orxonox
117  tinyxml_orxonox
118  tolualib_orxonox
119  util
120  core
121  audio
122  network
123)
124
Note: See TracBrowser for help on using the repository browser.