Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gui/src/orxonox/CMakeLists.txt @ 1967

Last change on this file since 1967 was 1697, checked in by rgrieder, 16 years ago

Minor gcc/CMake 'adjustments'

  • Property svn:eol-style set to native
File size: 2.3 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
9  gamestates/GSClient.cc
10  gamestates/GSDedicated.cc
11  gamestates/GSGraphics.cc
12  gamestates/GSGUI.cc
13  gamestates/GSIOConsole.cc
14  gamestates/GSLevel.cc
15  gamestates/GSRoot.cc
16  gamestates/GSServer.cc
17  gamestates/GSStandalone.cc
18
19  gui/GUIManager.cc
20  gui/OgreCEGUIRenderer.cpp
21  gui/OgreCEGUIResourceProvider.cpp
22  gui/OgreCEGUITexture.cpp
23
24  overlays/OrxonoxOverlay.cc
25  overlays/OverlayGroup.cc
26  overlays/OverlayText.cc
27
28  overlays/console/InGameConsole.cc
29
30  overlays/debug/DebugFPSText.cc
31  overlays/debug/DebugRTRText.cc
32
33  overlays/hud/HUDBar.cc
34  overlays/hud/HUDNavigation.cc
35  overlays/hud/HUDRadar.cc
36  overlays/hud/HUDSpeedBar.cc
37
38  tolua/tolua_bind.cc
39
40  tools/BillboardSet.cc
41  tools/Light.cc
42  tools/Mesh.cc
43  tools/ParticleInterface.cc
44  tools/TextureGenerator.cc
45  tools/Timer.cc
46  tools/WindowEventListener.cc
47
48  objects/Ambient.cc
49  objects/Backlight.cc
50  objects/Camera.cc
51  objects/CameraHandler.cc
52  objects/Model.cc
53  objects/NPC.cc
54  objects/ParticleSpawner.cc
55  objects/Skybox.cc
56  objects/SpaceShip.cc
57  objects/SpaceShipAI.cc
58  objects/Tickable.cc
59  objects/WorldEntity.cc
60
61  objects/Projectile.cc
62  objects/BillboardProjectile.cc
63  objects/RotatingProjectile.cc
64  objects/ParticleProjectile.cc
65)
66
67GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
68ADD_CUSTOM_COMMAND(
69  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
70  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
71  DEPENDS tolua ${CMAKE_SOURCE_DIR}/src/orxonox/tolua/tolua.pkg
72  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
73)
74       
75ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
76
77IF(NETWORKTRAFFIC_TESTING_ENABLED)
78
79  SET( ORXONOXS_SRC_FILES
80    GraphicsEngine.cc
81    objects/Ambient.cc
82    objects/Camera.cc
83    objects/CameraHandler.cc
84    objects/Explosion.cc
85    objects/Model.cc
86    objects/NPC.cc
87    objects/Projectile.cc
88    objects/Skybox.cc
89    objects/SpaceShip.cc
90    objects/WorldEntity.cc
91  )
92
93  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
94ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
95
96TARGET_LINK_LIBRARIES( orxonox
97  ${OGRE_LIBRARIES}
98  ${Lua_LIBRARIES}
99  ${CEGUI_LIBRARIES}
100  ${CEGUI_SCRIPT_LIBRARIES}
101  tinyxml
102  tolualib
103  ois_orxonox
104  util
105  core
106  audio
107  network
108)
109
Note: See TracBrowser for help on using the repository browser.