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 | SET_SOURCE_FILES(CORE_SRC_FILES |
---|
21 | |
---|
22 | #BUILD_UNIT CoreStableBuildUnit.cc |
---|
23 | ClassTreeMask.cc |
---|
24 | DynLib.cc |
---|
25 | DynLibManager.cc |
---|
26 | Event.cc |
---|
27 | Game.cc |
---|
28 | GameMode.cc |
---|
29 | GameState.cc |
---|
30 | Language.cc |
---|
31 | Loader.cc |
---|
32 | LuaState.cc |
---|
33 | Namespace.cc |
---|
34 | NamespaceNode.cc |
---|
35 | Template.cc |
---|
36 | ViewportEventListener.cc |
---|
37 | WindowEventListener.cc |
---|
38 | XMLNameListener.cc |
---|
39 | XMLPort.cc |
---|
40 | #END_BUILD_UNIT |
---|
41 | |
---|
42 | BaseObject.cc |
---|
43 | Core.cc |
---|
44 | |
---|
45 | BUILD_UNIT OgreBuildUnit.cc |
---|
46 | GraphicsManager.cc |
---|
47 | GUIManager.cc |
---|
48 | Resource.cc |
---|
49 | END_BUILD_UNIT |
---|
50 | |
---|
51 | BUILD_UNIT FilesystemBuildUnit.cc |
---|
52 | command/ArgumentCompletionFunctions.cc |
---|
53 | config/ConfigFile.cc |
---|
54 | PathConfig.cc |
---|
55 | END_BUILD_UNIT |
---|
56 | |
---|
57 | BUILD_UNIT ThreadBuildUnit.cc |
---|
58 | command/TclThreadManager.cc |
---|
59 | Thread.cc |
---|
60 | ThreadPool.cc |
---|
61 | END_BUILD_UNIT |
---|
62 | ) |
---|
63 | |
---|
64 | ADD_SUBDIRECTORY(class) |
---|
65 | ADD_SUBDIRECTORY(command) |
---|
66 | ADD_SUBDIRECTORY(config) |
---|
67 | ADD_SUBDIRECTORY(input) |
---|
68 | ADD_SUBDIRECTORY(object) |
---|
69 | |
---|
70 | ORXONOX_ADD_LIBRARY(core |
---|
71 | FIND_HEADER_FILES |
---|
72 | TOLUA_FILES |
---|
73 | command/CommandExecutor.h |
---|
74 | config/SettingsConfigFile.h |
---|
75 | Game.h |
---|
76 | GameMode.h |
---|
77 | GraphicsManager.h |
---|
78 | GUIManager.h |
---|
79 | Loader.h |
---|
80 | LuaState.h |
---|
81 | PathConfig.h |
---|
82 | input/InputManager.h |
---|
83 | input/KeyBinder.h |
---|
84 | input/KeyBinderManager.h |
---|
85 | ../util/output/OutputDefinitions.h |
---|
86 | PCH_FILE |
---|
87 | CorePrecompiledHeaders.h |
---|
88 | LINK_LIBRARIES |
---|
89 | ${OGRE_LIBRARY} |
---|
90 | ${Boost_FILESYSTEM_LIBRARY} |
---|
91 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
92 | ${Boost_THREAD_LIBRARY} |
---|
93 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
94 | ${CEGUI_LIBRARY} |
---|
95 | ${CEGUILUA_LIBRARY} |
---|
96 | ${CEGUI_TOLUA_LIBRARY} |
---|
97 | ${CEGUI_OGRE_RENDERER_LIBRARY} |
---|
98 | ${LUA5.1_LIBRARY} |
---|
99 | cpptcl_orxonox |
---|
100 | ois_orxonox |
---|
101 | tinyxml_orxonox |
---|
102 | util |
---|
103 | LINK_LIBS_UNIX |
---|
104 | dl |
---|
105 | pthread |
---|
106 | SOURCE_FILES |
---|
107 | ${CORE_SRC_FILES} |
---|
108 | ) |
---|