Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ogre1.9/src/orxonox/CMakeLists.txt @ 11663

Last change on this file since 11663 was 11127, checked in by landauf, 9 years ago

in ogre 1.9, overlays were moved into a separate component (i.e. a shared library called OgreOverlay) → we have to find and link this library if ogre's version is ≥ 1.9

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1 #
2 #             ORXONOX - the hottest 3D action shooter ever to exist
3 #                             > www.orxonox.net <
4 #
5 #        This program is free software; you can redistribute it and/or
6 #         modify it under the terms of the GNU General Public License
7 #        as published by the Free Software Foundation; either version 2
8 #            of the License, or (at your option) any later version.
9 #
10 #       This program is distributed in the hope that it will be useful,
11 #        but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #                 GNU General Public License for more details.
14 #
15 #   You should have received a copy of the GNU General Public License along
16 #      with this program; if not, write to the Free Software Foundation,
17 #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18 #
19
20INCLUDE_DIRECTORIES(
21  ${CMAKE_SOURCE_DIR}/src/libraries
22  ${CMAKE_CURRENT_SOURCE_DIR}
23)
24
25SET_SOURCE_FILES(ORXONOX_SRC_FILES
26  Level.cc
27  LevelInfo.cc
28  LevelManager.cc
29  Main.cc
30  MoodManager.cc
31  PlayerManager.cc
32  Radar.cc
33#  Test.cc
34
35BUILD_UNIT SceneBuildUnit.cc
36  CameraManager.cc
37  Scene.cc
38  RenderQueueListener.cc
39END_BUILD_UNIT
40)
41
42ADD_SUBDIRECTORY(chat)
43ADD_SUBDIRECTORY(collisionshapes)
44ADD_SUBDIRECTORY(controllers)
45ADD_SUBDIRECTORY(gamestates)
46ADD_SUBDIRECTORY(gametypes)
47ADD_SUBDIRECTORY(graphics)
48ADD_SUBDIRECTORY(infos)
49ADD_SUBDIRECTORY(interfaces)
50ADD_SUBDIRECTORY(items)
51ADD_SUBDIRECTORY(overlays)
52ADD_SUBDIRECTORY(sound)
53ADD_SUBDIRECTORY(weaponsystem)
54ADD_SUBDIRECTORY(worldentities)
55
56ORXONOX_ADD_LIBRARY(orxonox
57  FIND_HEADER_FILES
58  TOLUA_FILES
59    chat/ChatInputHandler.h
60    LevelInfo.h
61    LevelManager.h
62    MoodManager.h
63    controllers/HumanController.h
64    infos/PlayerInfo.h
65    sound/SoundManager.h
66    controllers/ScriptController.h
67  PCH_FILE
68    OrxonoxPrecompiledHeaders.h
69  LINK_LIBRARIES
70    ${OGRE_LIBRARY}
71    ${OGRE_OVERLAY_LIBRARY}
72    ${CEGUI}
73    ${LUA5.1_LIBRARY}
74    ${CEGUI_TOLUA_LIBRARY}
75    ${OPENAL_LIBRARY}
76    ${ALUT_LIBRARY}
77    ${OGG_LIBRARY}
78    ${VORBIS_LIBRARY}
79    ${VORBISFILE_LIBRARY}
80    tinyxml_orxonox
81    bullet_orxonox
82    util
83    core
84    network
85    tools
86  SOURCE_FILES
87    ${ORXONOX_SRC_FILES}
88)
Note: See TracBrowser for help on using the repository browser.