Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12202 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
RevLine 
[2710]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
[5752]20INCLUDE_DIRECTORIES(
21  ${CMAKE_SOURCE_DIR}/src/libraries
22  ${CMAKE_CURRENT_SOURCE_DIR}
23)
24
[2710]25SET_SOURCE_FILES(ORXONOX_SRC_FILES
[5929]26  Level.cc
[7648]27  LevelInfo.cc
[5929]28  LevelManager.cc
[5693]29  Main.cc
[6417]30  MoodManager.cc
[5781]31  PlayerManager.cc
32  Radar.cc
[7163]33#  Test.cc
[8729]34
35BUILD_UNIT SceneBuildUnit.cc
[5929]36  CameraManager.cc
[5781]37  Scene.cc
[11080]38  RenderQueueListener.cc
[8729]39END_BUILD_UNIT
[1505]40)
[5738]41
[8858]42ADD_SUBDIRECTORY(chat)
[5781]43ADD_SUBDIRECTORY(collisionshapes)
44ADD_SUBDIRECTORY(controllers)
[5929]45ADD_SUBDIRECTORY(gamestates)
[5781]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
[5693]56ORXONOX_ADD_LIBRARY(orxonox
[3196]57  FIND_HEADER_FILES
[5781]58  TOLUA_FILES
[8858]59    chat/ChatInputHandler.h
[7648]60    LevelInfo.h
[5781]61    LevelManager.h
[6417]62    MoodManager.h
63    controllers/HumanController.h
[7163]64    infos/PlayerInfo.h
[6417]65    sound/SoundManager.h
[10216]66    controllers/ScriptController.h
[5781]67  PCH_FILE
68    OrxonoxPrecompiledHeaders.h
[3196]69  LINK_LIBRARIES
[5781]70    ${OGRE_LIBRARY}
[11127]71    ${OGRE_OVERLAY_LIBRARY}
[8351]72    ${CEGUI}
73    ${LUA5.1_LIBRARY}
74    ${CEGUI_TOLUA_LIBRARY}
[5781]75    ${OPENAL_LIBRARY}
76    ${ALUT_LIBRARY}
[8351]77    ${OGG_LIBRARY}
78    ${VORBIS_LIBRARY}
[5781]79    ${VORBISFILE_LIBRARY}
[7163]80    tinyxml_orxonox
[5781]81    bullet_orxonox
[3196]82    util
83    core
[5781]84    network
85    tools
[8351]86  SOURCE_FILES
87    ${ORXONOX_SRC_FILES}
[3196]88)
Note: See TracBrowser for help on using the repository browser.