1 | SET( 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 | |
---|
36 | tools/BillboardSet.cc |
---|
37 | tools/Light.cc |
---|
38 | tools/Mesh.cc |
---|
39 | tools/ParticleInterface.cc |
---|
40 | tools/TextureGenerator.cc |
---|
41 | tools/Timer.cc |
---|
42 | tools/WindowEventListener.cc |
---|
43 | |
---|
44 | objects/worldentities/WorldEntity.cc |
---|
45 | objects/worldentities/PositionableEntity.cc |
---|
46 | # objects/Backlight.cc |
---|
47 | objects/Camera.cc |
---|
48 | objects/CameraHandler.cc |
---|
49 | # objects/ParticleSpawner.cc |
---|
50 | objects/Radar.cc |
---|
51 | objects/RadarListener.cc |
---|
52 | objects/RadarViewable.cc |
---|
53 | objects/Tickable.cc |
---|
54 | |
---|
55 | objects/infos/Info.cc |
---|
56 | objects/infos/LevelInfo.cc |
---|
57 | objects/infos/PlayerInfo.cc |
---|
58 | |
---|
59 | objects/gametypes/Gametype.cc |
---|
60 | |
---|
61 | tolua/tolua_bind.cc |
---|
62 | ) |
---|
63 | |
---|
64 | GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) |
---|
65 | ADD_CUSTOM_COMMAND( |
---|
66 | OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h |
---|
67 | COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg |
---|
68 | DEPENDS |
---|
69 | tolua_orxonox |
---|
70 | tolua/tolua.pkg |
---|
71 | gui/GUIManager.h |
---|
72 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib |
---|
73 | ) |
---|
74 | |
---|
75 | ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) |
---|
76 | |
---|
77 | IF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
78 | |
---|
79 | SET( ORXONOXS_SRC_FILES |
---|
80 | GraphicsEngine.cc |
---|
81 | objects/Camera.cc |
---|
82 | objects/CameraHandler.cc |
---|
83 | ) |
---|
84 | |
---|
85 | ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES}) |
---|
86 | ENDIF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
87 | |
---|
88 | TARGET_LINK_LIBRARIES( orxonox |
---|
89 | ${OGRE_LIBRARIES} |
---|
90 | ${CEGUI_LIBRARIES} |
---|
91 | lua_orxonox |
---|
92 | ceguilua_orxonox |
---|
93 | tinyxml_orxonox |
---|
94 | tolualib_orxonox |
---|
95 | util |
---|
96 | core |
---|
97 | audio |
---|
98 | network |
---|
99 | ) |
---|
100 | |
---|