Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/rocket3/src/orxonox/CMakeLists.txt @ 7144

Last change on this file since 7144 was 7135, checked in by rgrieder, 15 years ago

Automatically handle DEFINE_SYMBOL for our own libraries.
Also distinguish between static and shared build for DEFINE_SYMBOL.

  • 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  ChatHistory.cc
35  ChatInputHandler.cc
36COMPILATION_BEGIN SceneCompilation.cc
37  CameraManager.cc
38  Scene.cc
39COMPILATION_END
40)
41
42ADD_SUBDIRECTORY(collisionshapes)
43ADD_SUBDIRECTORY(controllers)
44ADD_SUBDIRECTORY(gamestates)
45ADD_SUBDIRECTORY(gametypes)
46ADD_SUBDIRECTORY(graphics)
47ADD_SUBDIRECTORY(infos)
48ADD_SUBDIRECTORY(interfaces)
49ADD_SUBDIRECTORY(items)
50ADD_SUBDIRECTORY(overlays)
51ADD_SUBDIRECTORY(pickup)
52ADD_SUBDIRECTORY(sound)
53ADD_SUBDIRECTORY(weaponsystem)
54ADD_SUBDIRECTORY(worldentities)
55
56ORXONOX_ADD_LIBRARY(orxonox
57  FIND_HEADER_FILES
58  TOLUA_FILES
59    ChatInputHandler.h
60    LevelManager.h
61    MoodManager.h
62    controllers/HumanController.h
63    interfaces/Pickupable.h
64    infos/PlayerInfo.h
65    sound/SoundManager.h
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.