Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/src/libraries/core/CMakeLists.txt @ 6243

Last change on this file since 6243 was 6243, checked in by rgrieder, 14 years ago

Modified config value macros so you can use them as one-liner.
And the macro code also gone: it can now be easily debugged in an inline function.
(Changes do not apply to ModifyConfigValue because it was impossible to do).

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
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
20SET_SOURCE_FILES(CORE_SRC_FILES
21  ConfigValueContainer.cc
22  Core.cc
23  DynLib.cc
24  DynLibManager.cc
25  Event.cc
26  Game.cc
27  GameMode.cc
28  GameState.cc
29  GraphicsManager.cc
30  GUIManager.cc
31  IOConsole.cc
32  Language.cc
33  LuaState.cc
34  ObjectListBase.cc
35  OrxonoxClass.cc
36  Resource.cc
37  ScopedSingletonManager.cc
38  WindowEventListener.cc
39
40  # command
41  CommandEvaluation.cc
42  CommandExecutor.cc
43  CommandLineParser.cc
44  ConsoleCommand.cc
45  ConsoleCommandCompilation.cc
46  Executor.cc
47
48  # hierarchy
49  Identifier.cc
50  MetaObjectList.cc
51
52  # level
53  BaseObject.cc
54  ClassTreeMask.cc
55  Loader.cc
56  Namespace.cc
57  NamespaceNode.cc
58  Template.cc
59  XMLPort.cc
60  XMLNameListener.cc
61
62  # shell
63  IRC.cc
64  Shell.cc
65  TclBind.cc
66
67COMPILATION_BEGIN FilesystemCompilation.cc
68  ArgumentCompletionFunctions.cc
69  ConfigFileManager.cc
70  MemoryArchive.cc
71  PathConfig.cc
72COMPILATION_END
73
74  # multithreading
75  ThreadPool.cc
76COMPILATION_BEGIN ThreadCompilation.cc
77  TclThreadManager.cc
78  Thread.cc
79COMPILATION_END
80)
81
82ADD_SUBDIRECTORY(input)
83
84ORXONOX_ADD_LIBRARY(core
85  FIND_HEADER_FILES
86  TOLUA_FILES
87    CommandExecutor.h
88    ConfigFileManager.h
89    Game.h
90    Loader.h
91    LuaState.h
92    input/InputManager.h
93    input/KeyBinder.h
94    input/KeyBinderManager.h
95  DEFINE_SYMBOL
96    "CORE_SHARED_BUILD"
97  PCH_FILE
98    CorePrecompiledHeaders.h
99  LINK_LIBRARIES
100    ${OGRE_LIBRARY}
101    ${Boost_FILESYSTEM_LIBRARY}
102    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
103    ${Boost_THREAD_LIBRARY}
104    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
105    ${CEGUI_LIBRARY}
106    ${CEGUILUA_LIBRARY}
107    ${LUA_LIBRARIES}
108    cpptcl_orxonox
109    ogreceguirenderer_orxonox
110    ois_orxonox
111    tinyxml++_orxonox
112    tolua++_orxonox
113    util
114  SOURCE_FILES
115    ${CORE_SRC_FILES}
116)
Note: See TracBrowser for help on using the repository browser.