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