Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/orxonox/CMakeLists.txt @ 2042

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

added camerapositions

  • Property svn:eol-style set to native
File size: 2.8 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/Light.cc
40  tools/Mesh.cc
41  tools/ParticleInterface.cc
42  tools/TextureGenerator.cc
43  tools/Timer.cc
44  tools/WindowEventListener.cc
45
46  objects/Radar.cc
47  objects/RadarListener.cc
48  objects/RadarViewable.cc
49  objects/Tickable.cc
50  objects/Test.cc
51  objects/Script.cc
52
53  objects/Scene.cc
54  objects/worldentities/WorldEntity.cc
55  objects/worldentities/PositionableEntity.cc
56  objects/worldentities/MovableEntity.cc
57  objects/worldentities/ControllableEntity.cc
58  objects/worldentities/Model.cc
59  objects/worldentities/Camera.cc
60  objects/worldentities/CameraPosition.cc
61  objects/worldentities/SpawnPoint.cc
62#  objects/worldentities/Backlight.cc
63#  objects/worldentities/ParticleSpawner.cc
64
65  objects/worldentities/triggers/Trigger.cc
66  objects/worldentities/triggers/DistanceTrigger.cc
67
68  objects/worldentities/pawns/Spectator.cc
69  objects/worldentities/pawns/Pawn.cc
70  objects/worldentities/pawns/SpaceShip.cc
71
72  objects/controllers/Controller.cc
73  objects/controllers/HumanController.cc
74
75  objects/infos/Info.cc
76  objects/infos/Level.cc
77  objects/infos/PlayerInfo.cc
78  objects/infos/HumanPlayer.cc
79
80  objects/gametypes/Gametype.cc
81
82  tolua/tolua_bind.cc
83)
84
85GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
86ADD_CUSTOM_COMMAND(
87  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
88  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
89  DEPENDS
90    tolua_orxonox
91    tolua/tolua.pkg
92    gui/GUIManager.h
93  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
94)
95
96
97ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
98
99IF(NETWORKTRAFFIC_TESTING_ENABLED)
100
101  SET( ORXONOXS_SRC_FILES
102    GraphicsEngine.cc
103    objects/Camera.cc
104    objects/CameraHandler.cc
105  )
106
107  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
108ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
109
110TARGET_LINK_LIBRARIES( orxonox
111  ${OGRE_LIBRARIES}
112  ${CEGUI_LIBRARIES}
113  lua_orxonox
114  ceguilua_orxonox
115  tinyxml_orxonox
116  tolualib_orxonox
117  util
118  core
119  audio
120  network
121)
122
Note: See TracBrowser for help on using the repository browser.