Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/orxonox/CMakeLists.txt @ 2569

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

Moved OgreCEGUIRenderer to its own folder in src since it's actually a library.

  • Property svn:eol-style set to native
File size: 1014 bytes
Line 
1ADD_SOURCE_FILES(
2  CameraManager.cc
3  GraphicsEngine.cc
4  LevelManager.cc
5  Main.cc
6  PlayerManager.cc
7  Settings.cc
8)
9
10ADD_SOURCE_DIRECTORY(gamestates)
11ADD_SOURCE_DIRECTORY(gui)
12ADD_SOURCE_DIRECTORY(objects)
13ADD_SOURCE_DIRECTORY(overlays)
14ADD_SOURCE_DIRECTORY(tools)
15
16WRITE_SOURCE_FILES(ORXONOX_SRC_FILES)
17
18TOLUA(Orxonox ORXONOX_SRC_FILES INPUTFILES gui/GUIManager.h)
19
20# Not using precompiled header files: Avoid dependencies
21INCLUDE_DIRECTORIES(pch/nopch)
22
23ADD_EXECUTABLE(orxonox ${ORXONOX_SRC_FILES})
24
25IF(NETWORKTRAFFIC_TESTING_ENABLED)
26
27  SET( ORXONOXS_SRC_FILES
28    GraphicsEngine.cc
29    objects/Camera.cc
30    CameraManager.cc
31  )
32
33  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
34ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
35
36TARGET_LINK_LIBRARIES( orxonox
37  ${OGRE_LIBRARY}
38  ${CEGUI_LIBRARY}
39  ${LUA_LIBRARIES}
40  #${CEGUI_SCRIPT_LIBRARIES}
41  ceguilua_orxonox
42  ogreceguirenderer_orxonox
43  tinyxml_orxonox
44  tolualib_orxonox
45  util
46  core
47  #audio
48  network
49)
50
51INSTALL(TARGETS orxonox RUNTIME DESTINATION bin)
Note: See TracBrowser for help on using the repository browser.