Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/libraries/core/CMakeLists.txt @ 5963

Last change on this file since 5963 was 5929, checked in by rgrieder, 15 years ago

Merged core5 branch back to the trunk.
Key features include clean level unloading and an extended XML event system.

Two important notes:
Delete your keybindings.ini files! * or you will still get parser errors when loading the key bindings.
Delete build_dir/lib/modules/libgamestates.module! * or orxonox won't start.
Best thing to do is to delete the build folder ;)

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