Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1654 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
RevLine 
[1505]1SET( ORXONOX_SRC_FILES
2  GraphicsEngine.cc
3  Main.cc
4  Orxonox.cc
[1625]5  Radar.cc
6  RadarListener.cc
7  RadarViewable.cc
[1535]8  Settings.cc
[1505]9
[1642]10  gui/GUIManager.cc
11  gui/OgreCEGUIRenderer.cpp
12  gui/OgreCEGUIResourceProvider.cpp
13  gui/OgreCEGUITexture.cpp
14
[1625]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
[1505]29  tolua/tolua_bind.cc
30
31  tools/BillboardSet.cc
32  tools/Light.cc
33  tools/Mesh.cc
[1553]34  tools/ParticleInterface.cc
[1625]35  tools/TextureGenerator.cc
[1505]36  tools/Timer.cc
[1625]37  tools/WindowEventListener.cc
[1505]38
39  objects/Ambient.cc
[1608]40  objects/Backlight.cc
[1505]41  objects/Camera.cc
42  objects/CameraHandler.cc
43  objects/Model.cc
44  objects/NPC.cc
[1552]45  objects/ParticleSpawner.cc
[1505]46  objects/Skybox.cc
47  objects/SpaceShip.cc
48  objects/SpaceShipAI.cc
[1535]49  objects/Tickable.cc
[1505]50  objects/WorldEntity.cc
51
[1552]52  objects/Projectile.cc
53  objects/BillboardProjectile.cc
54  objects/RotatingProjectile.cc
55  objects/ParticleProjectile.cc
[1505]56)
57
58GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
59ADD_CUSTOM_COMMAND(
[1612]60  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
[1645]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
[1651]62  DEPENDS tolua ${CMAKE_SOURCE_DIR}/src/orxonox/tolua/tolua.pkg
[1505]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}
[1643]90  ${CEGUI_LIBRARIES}
[1645]91  ${CEGUI_SCRIPT_LIBRARIES}
[1505]92  tinyxml
93  tolualib
[1555]94  ois_orxonox
[1505]95  util
96  core
97  audio
98  network
99)
100
Note: See TracBrowser for help on using the repository browser.