Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5626 was 5626, checked in by landauf, 15 years ago

Added a dynamic library loader (more or less a copy of Ogre::DynLibManager but with some adjustments for Orxonox). This allows us to load plugins at runtime. Plugin-libraries must be declared with the "PLUGIN" switch in ORXONOX_ADD_LIBRARY in CMake.

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