Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

renamed LevelInfo as Level

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