Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8283 was 8283, checked in by rgrieder, 13 years ago

Merged revisions 7940-7974 from kicklib to kicklib2.

  • Property svn:eol-style set to native
File size: 2.6 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
38  # hierarchy
39  Identifier.cc
40  MetaObjectList.cc
41
42  # level
43  BaseObject.cc
44  ClassTreeMask.cc
45  Loader.cc
46  Namespace.cc
47  NamespaceNode.cc
48  Template.cc
49  XMLPort.cc
50
51COMPILATION_BEGIN ListenerCompilation.cc
52  ViewportEventListener.cc
53  WindowEventListener.cc
54  XMLNameListener.cc
55COMPILATION_END
56
57COMPILATION_BEGIN FilesystemCompilation.cc
58  command/ArgumentCompletionFunctions.cc
59  ConfigFileManager.cc
60  PathConfig.cc
61COMPILATION_END
62
63  # multithreading
64  ThreadPool.cc
65COMPILATION_BEGIN ThreadCompilation.cc
66  command/TclThreadManager.cc
67  Thread.cc
68COMPILATION_END
69)
70
71ADD_SUBDIRECTORY(command)
72ADD_SUBDIRECTORY(input)
73
74ORXONOX_ADD_LIBRARY(core
75  FIND_HEADER_FILES
76  TOLUA_FILES
77    command/CommandExecutor.h
78    ConfigFileManager.h
79    Game.h
80    GameMode.h
81    GraphicsManager.h
82    GUIManager.h
83    Loader.h
84    LuaState.h
85    PathConfig.h
86    input/InputManager.h
87    input/KeyBinder.h
88    input/KeyBinderManager.h
89  PCH_FILE
90    CorePrecompiledHeaders.h
91  LINK_LIBRARIES
92    ${OGRE_LIBRARY}
93    ${Boost_FILESYSTEM_LIBRARY}
94    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
95    ${Boost_THREAD_LIBRARY}
96    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
97    ${CEGUI_LIBRARY}
98    ${CEGUILUA_LIBRARY}
99    ${CEGUI_TOLUA_LIBRARY}
100    ${CEGUI_OGRE_RENDERER_LIBRARY}
101    ${LUA5.1_LIBRARY}
102    cpptcl_orxonox
103    ois_orxonox
104    tinyxml_orxonox
105    util
106  SOURCE_FILES
107    ${CORE_SRC_FILES}
108)
Note: See TracBrowser for help on using the repository browser.