Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorialHS09/src/orxonox/CMakeLists.txt @ 10428

Last change on this file since 10428 was 5752, checked in by rgrieder, 15 years ago

Small changes for the include directories:

  • Our own directories get specified in src/libraries, src/orxonox and src/modules. This way you cannot include for example "CameraManager.h" in the core library.
  • All tolua bind header files now go to src/toluabind to avoid declaring every folder with such header files in src separately (for each module/library).
  • 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(gametypes)
42ADD_SUBDIRECTORY(graphics)
43ADD_SUBDIRECTORY(infos)
44ADD_SUBDIRECTORY(interfaces)
45ADD_SUBDIRECTORY(items)
46ADD_SUBDIRECTORY(overlays)
47ADD_SUBDIRECTORY(pickup)
48ADD_SUBDIRECTORY(sound)
49ADD_SUBDIRECTORY(weaponsystem)
50ADD_SUBDIRECTORY(worldentities)
51
52ORXONOX_ADD_LIBRARY(orxonox
53  FIND_HEADER_FILES
54  TOLUA_FILES
55    LevelManager.h
56    pickup/BaseItem.h
57    pickup/PickupInventory.h
58  DEFINE_SYMBOL
59    "ORXONOX_SHARED_BUILD"
60  PCH_FILE
61    OrxonoxPrecompiledHeaders.h
62  LINK_LIBRARIES
63    ${Boost_FILESYSTEM_LIBRARY}
64    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
65    ${Boost_THREAD_LIBRARY}
66    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
67    ${OGRE_LIBRARY}
68    ${OPENAL_LIBRARY}
69    ${ALUT_LIBRARY}
70    ${VORBISFILE_LIBRARY}
71    ${VORBIS_LIBRARY}
72    ${OGG_LIBRARY}
73    tinyxml++_orxonox
74    tolua++_orxonox
75    bullet_orxonox
76    util
77    core
78    network
79    tools
80  SOURCE_FILES ${ORXONOX_SRC_FILES}
81)
Note: See TracBrowser for help on using the repository browser.