Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core5/src/libraries/core/CMakeLists.txt @ 5867

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

Modified Scoped Singleton concept: Derive from Singleton normally, but place an important pre-main() instruction in the source file: ManageScopedSingleton(className, scope) (it's a macro).
This causes the Singleton to be created and destroyed with the Scope. Thus if a Singleton c'tor throws, it is much easier to react accordingly.

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