Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1944 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
RevLine 
[1505]1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
[1625]4  Radar.cc
5  RadarListener.cc
6  RadarViewable.cc
[1535]7  Settings.cc
[1505]8
[1672]9  gamestates/GSClient.cc
[1697]10  gamestates/GSDedicated.cc
[1665]11  gamestates/GSGraphics.cc
12  gamestates/GSGUI.cc
[1672]13  gamestates/GSIOConsole.cc
[1665]14  gamestates/GSLevel.cc
15  gamestates/GSRoot.cc
[1672]16  gamestates/GSServer.cc
17  gamestates/GSStandalone.cc
[1665]18
[1642]19  gui/GUIManager.cc
20  gui/OgreCEGUIRenderer.cpp
21  gui/OgreCEGUIResourceProvider.cpp
22  gui/OgreCEGUITexture.cpp
23
[1625]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
[1505]38  tolua/tolua_bind.cc
39
40  tools/BillboardSet.cc
41  tools/Light.cc
42  tools/Mesh.cc
[1553]43  tools/ParticleInterface.cc
[1625]44  tools/TextureGenerator.cc
[1505]45  tools/Timer.cc
[1625]46  tools/WindowEventListener.cc
[1505]47
48  objects/Ambient.cc
[1608]49  objects/Backlight.cc
[1505]50  objects/Camera.cc
51  objects/CameraHandler.cc
52  objects/Model.cc
53  objects/NPC.cc
[1552]54  objects/ParticleSpawner.cc
[1505]55  objects/Skybox.cc
56  objects/SpaceShip.cc
57  objects/SpaceShipAI.cc
[1535]58  objects/Tickable.cc
[1505]59  objects/WorldEntity.cc
60
[1552]61  objects/Projectile.cc
62  objects/BillboardProjectile.cc
63  objects/RotatingProjectile.cc
64  objects/ParticleProjectile.cc
[1505]65)
66
67GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
68ADD_CUSTOM_COMMAND(
[1612]69  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
[1645]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
[1651]71  DEPENDS tolua ${CMAKE_SOURCE_DIR}/src/orxonox/tolua/tolua.pkg
[1505]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}
[1643]99  ${CEGUI_LIBRARIES}
[1645]100  ${CEGUI_SCRIPT_LIBRARIES}
[1505]101  tinyxml
102  tolualib
[1555]103  ois_orxonox
[1505]104  util
105  core
106  audio
107  network
108)
109
Note: See TracBrowser for help on using the repository browser.