Last change
on this file since 2274 was
2239,
checked in by rgrieder, 16 years ago
|
Resolved tolua include directory problem in another fashion by adding CMAKE_BINARY_DIR/src to the include directories and adjusting the the include directives. There were some changes necessary in package.lua (it uses the package name as folder to write "#include "core/CommandExecutor.h"").
The problem with the old resolution (-iquotes) was that you could write "#include "Core.h"" in a file that is not in the core, because src/core was effectively added to the list of include directories (just the ones with quotes of course).
|
-
Property svn:eol-style set to
native
|
File size:
2.1 KB
|
Rev | Line | |
---|
[1505] | 1 | SET( ORXONOX_SRC_FILES |
---|
| 2 | GraphicsEngine.cc |
---|
| 3 | Main.cc |
---|
[1535] | 4 | Settings.cc |
---|
[1747] | 5 | SignalHandler.cc |
---|
[1505] | 6 | |
---|
[1755] | 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 | |
---|
[1625] | 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 | |
---|
[1505] | 36 | tools/BillboardSet.cc |
---|
| 37 | tools/Light.cc |
---|
| 38 | tools/Mesh.cc |
---|
[1553] | 39 | tools/ParticleInterface.cc |
---|
[1625] | 40 | tools/TextureGenerator.cc |
---|
[1505] | 41 | tools/Timer.cc |
---|
[1625] | 42 | tools/WindowEventListener.cc |
---|
[1505] | 43 | |
---|
| 44 | objects/Ambient.cc |
---|
[1608] | 45 | objects/Backlight.cc |
---|
[1505] | 46 | objects/Camera.cc |
---|
| 47 | objects/CameraHandler.cc |
---|
| 48 | objects/Model.cc |
---|
| 49 | objects/NPC.cc |
---|
[1552] | 50 | objects/ParticleSpawner.cc |
---|
[1817] | 51 | objects/Radar.cc |
---|
| 52 | objects/RadarListener.cc |
---|
| 53 | objects/RadarViewable.cc |
---|
[1505] | 54 | objects/Skybox.cc |
---|
| 55 | objects/SpaceShip.cc |
---|
| 56 | objects/SpaceShipAI.cc |
---|
[1535] | 57 | objects/Tickable.cc |
---|
[1505] | 58 | objects/WorldEntity.cc |
---|
| 59 | |
---|
[1552] | 60 | objects/Projectile.cc |
---|
| 61 | objects/BillboardProjectile.cc |
---|
| 62 | objects/RotatingProjectile.cc |
---|
| 63 | objects/ParticleProjectile.cc |
---|
[1505] | 64 | ) |
---|
| 65 | |
---|
[1882] | 66 | INCLUDE(UseTolua) |
---|
| 67 | TOLUA(Orxonox ORXONOX_SRC_FILES INPUTFILES gui/GUIManager.h) |
---|
| 68 | |
---|
[1505] | 69 | ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) |
---|
| 70 | |
---|
| 71 | IF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
| 72 | |
---|
| 73 | SET( ORXONOXS_SRC_FILES |
---|
| 74 | GraphicsEngine.cc |
---|
| 75 | objects/Ambient.cc |
---|
| 76 | objects/Camera.cc |
---|
| 77 | objects/CameraHandler.cc |
---|
| 78 | objects/Explosion.cc |
---|
| 79 | objects/Model.cc |
---|
| 80 | objects/NPC.cc |
---|
| 81 | objects/Projectile.cc |
---|
| 82 | objects/Skybox.cc |
---|
| 83 | objects/SpaceShip.cc |
---|
| 84 | objects/WorldEntity.cc |
---|
| 85 | ) |
---|
| 86 | |
---|
| 87 | ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES}) |
---|
| 88 | ENDIF(NETWORKTRAFFIC_TESTING_ENABLED) |
---|
| 89 | |
---|
| 90 | TARGET_LINK_LIBRARIES( orxonox |
---|
[2198] | 91 | ${OGRE_LIBRARY} |
---|
[2197] | 92 | ${CEGUI_LIBRARY} |
---|
[1975] | 93 | ${LUA_LIBRARIES} |
---|
[1979] | 94 | #${CEGUI_SCRIPT_LIBRARIES} |
---|
| 95 | ceguilua_orxonox |
---|
[1810] | 96 | tinyxml_orxonox |
---|
| 97 | tolualib_orxonox |
---|
[1505] | 98 | util |
---|
| 99 | core |
---|
| 100 | audio |
---|
| 101 | network |
---|
| 102 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.