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 | |
---|
20 | INCLUDE_DIRECTORIES( |
---|
21 | ${CMAKE_SOURCE_DIR}/src/external |
---|
22 | ${CMAKE_SOURCE_DIR}/src/libraries |
---|
23 | ${CMAKE_CURRENT_SOURCE_DIR} |
---|
24 | ) |
---|
25 | |
---|
26 | SET_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 | COMPILATION_BEGIN SceneCompilation.cc |
---|
35 | CameraManager.cc |
---|
36 | Scene.cc |
---|
37 | COMPILATION_END |
---|
38 | ) |
---|
39 | |
---|
40 | ADD_SUBDIRECTORY(collisionshapes) |
---|
41 | ADD_SUBDIRECTORY(controllers) |
---|
42 | ADD_SUBDIRECTORY(gamestates) |
---|
43 | ADD_SUBDIRECTORY(gametypes) |
---|
44 | ADD_SUBDIRECTORY(graphics) |
---|
45 | ADD_SUBDIRECTORY(infos) |
---|
46 | ADD_SUBDIRECTORY(interfaces) |
---|
47 | ADD_SUBDIRECTORY(items) |
---|
48 | ADD_SUBDIRECTORY(overlays) |
---|
49 | ADD_SUBDIRECTORY(sound) |
---|
50 | ADD_SUBDIRECTORY(weaponsystem) |
---|
51 | ADD_SUBDIRECTORY(worldentities) |
---|
52 | |
---|
53 | ORXONOX_ADD_LIBRARY(orxonox |
---|
54 | FIND_HEADER_FILES |
---|
55 | TOLUA_FILES |
---|
56 | LevelManager.h |
---|
57 | MoodManager.h |
---|
58 | controllers/HumanController.h |
---|
59 | sound/SoundManager.h |
---|
60 | DEFINE_SYMBOL |
---|
61 | "ORXONOX_SHARED_BUILD" |
---|
62 | PCH_FILE |
---|
63 | OrxonoxPrecompiledHeaders.h |
---|
64 | LINK_LIBRARIES |
---|
65 | ${Boost_FILESYSTEM_LIBRARY} |
---|
66 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
67 | ${Boost_THREAD_LIBRARY} |
---|
68 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
69 | ${OGRE_LIBRARY} |
---|
70 | ${OPENAL_LIBRARY} |
---|
71 | ${ALUT_LIBRARY} |
---|
72 | ${VORBISFILE_LIBRARY} |
---|
73 | ${VORBIS_LIBRARY} |
---|
74 | ${OGG_LIBRARY} |
---|
75 | tinyxml++_orxonox |
---|
76 | tolua++_orxonox |
---|
77 | bullet_orxonox |
---|
78 | util |
---|
79 | core |
---|
80 | network |
---|
81 | tools |
---|
82 | SOURCE_FILES ${ORXONOX_SRC_FILES} |
---|
83 | ) |
---|