Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/CMakeLists.txt @ 6124

Last change on this file since 6124 was 5929, checked in by rgrieder, 15 years ago

Merged core5 branch back to the trunk.
Key features include clean level unloading and an extended XML event system.

Two important notes:
Delete your keybindings.ini files! * or you will still get parser errors when loading the key bindings.
Delete build_dir/lib/modules/libgamestates.module! * or orxonox won't start.
Best thing to do is to delete the build folder ;)

  • 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/external
22  ${CMAKE_SOURCE_DIR}/src/libraries
23  ${CMAKE_CURRENT_SOURCE_DIR}
24)
25
26SET_SOURCE_FILES(ORXONOX_SRC_FILES
27  Level.cc
28  LevelManager.cc
29  Main.cc
30  PawnManager.cc
31  PlayerManager.cc
32  Radar.cc
33COMPILATION_BEGIN SceneCompilation.cc
34  CameraManager.cc
35  Scene.cc
36COMPILATION_END
37)
38
39ADD_SUBDIRECTORY(collisionshapes)
40ADD_SUBDIRECTORY(controllers)
41ADD_SUBDIRECTORY(gamestates)
42ADD_SUBDIRECTORY(gametypes)
43ADD_SUBDIRECTORY(graphics)
44ADD_SUBDIRECTORY(infos)
45ADD_SUBDIRECTORY(interfaces)
46ADD_SUBDIRECTORY(items)
47ADD_SUBDIRECTORY(overlays)
48ADD_SUBDIRECTORY(pickup)
49ADD_SUBDIRECTORY(sound)
50ADD_SUBDIRECTORY(weaponsystem)
51ADD_SUBDIRECTORY(worldentities)
52
53ORXONOX_ADD_LIBRARY(orxonox
54  FIND_HEADER_FILES
55  TOLUA_FILES
56    LevelManager.h
57    pickup/BaseItem.h
58    pickup/PickupInventory.h
59  DEFINE_SYMBOL
60    "ORXONOX_SHARED_BUILD"
61  PCH_FILE
62    OrxonoxPrecompiledHeaders.h
63  LINK_LIBRARIES
64    ${Boost_FILESYSTEM_LIBRARY}
65    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
66    ${Boost_THREAD_LIBRARY}
67    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
68    ${OGRE_LIBRARY}
69    ${OPENAL_LIBRARY}
70    ${ALUT_LIBRARY}
71    ${VORBISFILE_LIBRARY}
72    ${VORBIS_LIBRARY}
73    ${OGG_LIBRARY}
74    tinyxml++_orxonox
75    tolua++_orxonox
76    bullet_orxonox
77    util
78    core
79    network
80    tools
81  SOURCE_FILES ${ORXONOX_SRC_FILES}
82)
Note: See TracBrowser for help on using the repository browser.