Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network2/src/orxonox/CMakeLists.txt @ 7158

Last change on this file since 7158 was 6448, checked in by scheusso, 15 years ago

made registerVariables always private. otherwise bad things may happen with variables registered twice or even 3 times (as has happened in ControllableEntity until now)

  • Property svn:eol-style set to native
File size: 2.3 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  MoodManager.cc
31  PawnManager.cc
32  PlayerManager.cc
33  Radar.cc
34  Test.cc
35COMPILATION_BEGIN SceneCompilation.cc
36  CameraManager.cc
37  Scene.cc
38COMPILATION_END
39)
40
41ADD_SUBDIRECTORY(collisionshapes)
42ADD_SUBDIRECTORY(controllers)
43ADD_SUBDIRECTORY(gamestates)
44ADD_SUBDIRECTORY(gametypes)
45ADD_SUBDIRECTORY(graphics)
46ADD_SUBDIRECTORY(infos)
47ADD_SUBDIRECTORY(interfaces)
48ADD_SUBDIRECTORY(items)
49ADD_SUBDIRECTORY(overlays)
50ADD_SUBDIRECTORY(pickup)
51ADD_SUBDIRECTORY(sound)
52ADD_SUBDIRECTORY(weaponsystem)
53ADD_SUBDIRECTORY(worldentities)
54
55ORXONOX_ADD_LIBRARY(orxonox
56  FIND_HEADER_FILES
57  TOLUA_FILES
58    LevelManager.h
59    MoodManager.h
60    controllers/HumanController.h
61    pickup/BaseItem.h
62    pickup/PickupInventory.h
63    sound/SoundManager.h
64  DEFINE_SYMBOL
65    "ORXONOX_SHARED_BUILD"
66  PCH_FILE
67    OrxonoxPrecompiledHeaders.h
68  LINK_LIBRARIES
69    ${Boost_FILESYSTEM_LIBRARY}
70    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
71    ${Boost_THREAD_LIBRARY}
72    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
73    ${OGRE_LIBRARY}
74    ${OPENAL_LIBRARY}
75    ${ALUT_LIBRARY}
76    ${VORBISFILE_LIBRARY}
77    ${VORBIS_LIBRARY}
78    ${OGG_LIBRARY}
79    tinyxml++_orxonox
80    tolua++_orxonox
81    bullet_orxonox
82    util
83    core
84    network
85    tools
86  SOURCE_FILES ${ORXONOX_SRC_FILES}
87)
Note: See TracBrowser for help on using the repository browser.