Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core5/src/orxonox/CMakeLists.txt @ 5862

Last change on this file since 5862 was 5842, checked in by rgrieder, 15 years ago

Moved GameStates back to the orxonox library. This resolves an issue at startup if the command line arguments contained errors. Furthermore you can now simply not build the modules folder and still get a working orxonox.

DELETE ALL "libgamestates*" FILES (esp. in the modules output folder) to avoid problems with duplicate libraries!!!

  • 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  Main.cc
28
29  CameraManager.cc
30  LevelManager.cc
31  PawnManager.cc
32  PlayerManager.cc
33
34  Level.cc
35  Radar.cc
36  Scene.cc
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.