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(pickup) |
---|
50 | ADD_SUBDIRECTORY(sound) |
---|
51 | ADD_SUBDIRECTORY(weaponsystem) |
---|
52 | ADD_SUBDIRECTORY(worldentities) |
---|
53 | |
---|
54 | ORXONOX_ADD_LIBRARY(orxonox |
---|
55 | FIND_HEADER_FILES |
---|
56 | TOLUA_FILES |
---|
57 | LevelManager.h |
---|
58 | MoodManager.h |
---|
59 | controllers/HumanController.h |
---|
60 | sound/SoundManager.h |
---|
61 | DEFINE_SYMBOL |
---|
62 | "ORXONOX_SHARED_BUILD" |
---|
63 | PCH_FILE |
---|
64 | OrxonoxPrecompiledHeaders.h |
---|
65 | LINK_LIBRARIES |
---|
66 | ${Boost_FILESYSTEM_LIBRARY} |
---|
67 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
68 | ${Boost_THREAD_LIBRARY} |
---|
69 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
70 | ${OGRE_LIBRARY} |
---|
71 | ${OPENAL_LIBRARY} |
---|
72 | ${ALUT_LIBRARY} |
---|
73 | ${VORBISFILE_LIBRARY} |
---|
74 | ${VORBIS_LIBRARY} |
---|
75 | ${OGG_LIBRARY} |
---|
76 | tinyxml++_orxonox |
---|
77 | tolua++_orxonox |
---|
78 | bullet_orxonox |
---|
79 | util |
---|
80 | core |
---|
81 | network |
---|
82 | tools |
---|
83 | SOURCE_FILES ${ORXONOX_SRC_FILES} |
---|
84 | ) |
---|