Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7202 was 7202, checked in by landauf, 14 years ago

moved all files related to the command execution chain to core/command (includes not yet adjusted, doesn't compile)

  • 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  CommandLineParser.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  ObjectListBase.cc
35  OrxonoxClass.cc
36  Resource.cc
37  ScopedSingletonManager.cc
38  WindowEventListener.cc
39
40  # hierarchy
41  Identifier.cc
42  MetaObjectList.cc
43
44  # level
45  BaseObject.cc
46  ClassTreeMask.cc
47  Loader.cc
48  Namespace.cc
49  NamespaceNode.cc
50  Template.cc
51  XMLPort.cc
52  XMLNameListener.cc
53
54COMPILATION_BEGIN FilesystemCompilation.cc
55  command/ArgumentCompletionFunctions.cc
56  ConfigFileManager.cc
57  MemoryArchive.cc
58  PathConfig.cc
59COMPILATION_END
60
61  # multithreading
62  ThreadPool.cc
63COMPILATION_BEGIN ThreadCompilation.cc
64  command/TclThreadManager.cc
65  Thread.cc
66COMPILATION_END
67)
68
69ADD_SUBDIRECTORY(command)
70ADD_SUBDIRECTORY(input)
71
72ORXONOX_ADD_LIBRARY(core
73  FIND_HEADER_FILES
74  TOLUA_FILES
75    command/CommandExecutor.h
76    ConfigFileManager.h
77    Game.h
78    GameMode.h
79    GUIManager.h
80    Loader.h
81    LuaState.h
82    PathConfig.h
83    input/InputManager.h
84    input/KeyBinder.h
85    input/KeyBinderManager.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    ${LUA_LIBRARIES}
97    cpptcl_orxonox
98    ogreceguirenderer_orxonox
99    ois_orxonox
100    tinyxml_orxonox
101    tolua_orxonox
102    util
103  SOURCE_FILES
104    ${CORE_SRC_FILES}
105)
Note: See TracBrowser for help on using the repository browser.