Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

merged consolecommands3 branch back to trunk.

note: the console command interface has changed completely, but the documentation is not yet up to date. just copy an existing command and change it to your needs, it's pretty self-explanatory. also the include files related to console commands are now located in core/command/. in the game it should work exactly like before, except for some changes in the auto-completion.

  • 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  WindowEventListener.cc
38
39  # hierarchy
40  Identifier.cc
41  MetaObjectList.cc
42
43  # level
44  BaseObject.cc
45  ClassTreeMask.cc
46  Loader.cc
47  Namespace.cc
48  NamespaceNode.cc
49  Template.cc
50  XMLPort.cc
51  XMLNameListener.cc
52
53COMPILATION_BEGIN FilesystemCompilation.cc
54  command/ArgumentCompletionFunctions.cc
55  ConfigFileManager.cc
56  MemoryArchive.cc
57  PathConfig.cc
58COMPILATION_END
59
60  # multithreading
61  ThreadPool.cc
62COMPILATION_BEGIN ThreadCompilation.cc
63  command/TclThreadManager.cc
64  Thread.cc
65COMPILATION_END
66)
67
68ADD_SUBDIRECTORY(command)
69ADD_SUBDIRECTORY(input)
70
71ORXONOX_ADD_LIBRARY(core
72  FIND_HEADER_FILES
73  TOLUA_FILES
74    command/CommandExecutor.h
75    ConfigFileManager.h
76    Game.h
77    GameMode.h
78    GUIManager.h
79    Loader.h
80    LuaState.h
81    PathConfig.h
82    input/InputManager.h
83    input/KeyBinder.h
84    input/KeyBinderManager.h
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.