Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1662 was 1651, checked in by rgrieder, 16 years ago

tolua seems to be created correctly. I the existing toluabind.c file to create a tolua application that creates the actual pimped tolua application. But be aware that modifying the *.lua files will not cause a recompile. You need to tell iit manually.

There was quite a stupid issue with static initialisation (I'm really wondering how that could even work with msvc).

However things don't seem to work yet on tardis, at least not remotely. It seems like Ogre can't initialise when using a vnc session. I'll have to look into that locally at ETZ.

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