Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5766 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
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/external
22  ${CMAKE_SOURCE_DIR}/src/libraries
23  ${CMAKE_CURRENT_SOURCE_DIR}
24)
25
[2710]26SET_SOURCE_FILES(ORXONOX_SRC_FILES
[5693]27  Main.cc
28
[2087]29  CameraManager.cc
30  LevelManager.cc
[2662]31  PawnManager.cc
[2171]32  PlayerManager.cc
[5693]33
[5738]34  Level.cc
35  Radar.cc
36  Scene.cc
[1505]37)
[5738]38
39ADD_SUBDIRECTORY(collisionshapes)
40ADD_SUBDIRECTORY(controllers)
41ADD_SUBDIRECTORY(gametypes)
42ADD_SUBDIRECTORY(graphics)
43ADD_SUBDIRECTORY(infos)
[3196]44ADD_SUBDIRECTORY(interfaces)
[5738]45ADD_SUBDIRECTORY(items)
[5693]46ADD_SUBDIRECTORY(overlays)
[5738]47ADD_SUBDIRECTORY(pickup)
[3196]48ADD_SUBDIRECTORY(sound)
[5738]49ADD_SUBDIRECTORY(weaponsystem)
50ADD_SUBDIRECTORY(worldentities)
[1505]51
[5693]52ORXONOX_ADD_LIBRARY(orxonox
[3196]53  FIND_HEADER_FILES
54  TOLUA_FILES
[3280]55    LevelManager.h
[5738]56    pickup/BaseItem.h
57    pickup/PickupInventory.h
[5693]58  DEFINE_SYMBOL
59    "ORXONOX_SHARED_BUILD"
[3196]60  PCH_FILE
61    OrxonoxPrecompiledHeaders.h
62  LINK_LIBRARIES
[3370]63    ${Boost_FILESYSTEM_LIBRARY}
64    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
65    ${Boost_THREAD_LIBRARY}
66    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
[3196]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
[5693]79    tools
[3196]80  SOURCE_FILES ${ORXONOX_SRC_FILES}
81)
Note: See TracBrowser for help on using the repository browser.