Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Merged console branch back to trunk.

  • 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  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    Loader.h
89    LuaState.h
90  DEFINE_SYMBOL
91    "CORE_SHARED_BUILD"
92  PCH_FILE
93    CorePrecompiledHeaders.h
94  LINK_LIBRARIES
95    ${OGRE_LIBRARY}
96    ${Boost_FILESYSTEM_LIBRARY}
97    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
98    ${Boost_THREAD_LIBRARY}
99    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
100    ${CEGUI_LIBRARY}
101    ${CEGUILUA_LIBRARY}
102    ${LUA_LIBRARIES}
103    cpptcl_orxonox
104    ogreceguirenderer_orxonox
105    ois_orxonox
106    tinyxml++_orxonox
107    tolua++_orxonox
108    util
109  SOURCE_FILES
110    ${CORE_SRC_FILES}
111)
Note: See TracBrowser for help on using the repository browser.