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 | pickup/BaseItem.h |
---|
60 | pickup/PickupInventory.h |
---|
61 | sound/SoundManager.h |
---|
62 | DEFINE_SYMBOL |
---|
63 | "ORXONOX_SHARED_BUILD" |
---|
64 | PCH_FILE |
---|
65 | OrxonoxPrecompiledHeaders.h |
---|
66 | LINK_LIBRARIES |
---|
67 | ${Boost_FILESYSTEM_LIBRARY} |
---|
68 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
69 | ${Boost_THREAD_LIBRARY} |
---|
70 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
71 | ${OGRE_LIBRARY} |
---|
72 | ${OPENAL_LIBRARY} |
---|
73 | ${ALUT_LIBRARY} |
---|
74 | ${VORBISFILE_LIBRARY} |
---|
75 | ${VORBIS_LIBRARY} |
---|
76 | ${OGG_LIBRARY} |
---|
77 | tinyxml++_orxonox |
---|
78 | tolua++_orxonox |
---|
79 | bullet_orxonox |
---|
80 | util |
---|
81 | core |
---|
82 | network |
---|
83 | tools |
---|
84 | SOURCE_FILES ${ORXONOX_SRC_FILES} |
---|
85 | ) |
---|