Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9560 was 9560, checked in by landauf, 11 years ago

moved CommandLineParser to core/config/

  • 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
22#BUILD_UNIT CoreStableBuildUnit.cc
23  ClassTreeMask.cc
24  DynLib.cc
25  DynLibManager.cc
26  Event.cc
27  Game.cc
28  GameMode.cc
29  GameState.cc
30  Identifier.cc
31  Language.cc
32  Loader.cc
33  LuaState.cc
34  Namespace.cc
35  NamespaceNode.cc
36  OrxonoxClass.cc
37  Template.cc
38  ViewportEventListener.cc
39  WindowEventListener.cc
40  XMLNameListener.cc
41  XMLPort.cc
42#END_BUILD_UNIT
43
44  BaseObject.cc
45  Core.cc
46
47BUILD_UNIT OgreBuildUnit.cc
48  GraphicsManager.cc
49  GUIManager.cc
50  Resource.cc
51END_BUILD_UNIT
52
53BUILD_UNIT FilesystemBuildUnit.cc
54  command/ArgumentCompletionFunctions.cc
55  config/ConfigFile.cc
56  PathConfig.cc
57END_BUILD_UNIT
58
59BUILD_UNIT ThreadBuildUnit.cc
60  command/TclThreadManager.cc
61  Thread.cc
62  ThreadPool.cc
63END_BUILD_UNIT
64)
65
66ADD_SUBDIRECTORY(command)
67ADD_SUBDIRECTORY(config)
68ADD_SUBDIRECTORY(input)
69ADD_SUBDIRECTORY(object)
70
71ORXONOX_ADD_LIBRARY(core
72  FIND_HEADER_FILES
73  TOLUA_FILES
74    command/CommandExecutor.h
75    config/SettingsConfigFile.h
76    Game.h
77    GameMode.h
78    GraphicsManager.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    ../util/output/OutputDefinitions.h
87  PCH_FILE
88    CorePrecompiledHeaders.h
89  LINK_LIBRARIES
90    ${OGRE_LIBRARY}
91    ${Boost_FILESYSTEM_LIBRARY}
92    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
93    ${Boost_THREAD_LIBRARY}
94    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
95    ${CEGUI_LIBRARY}
96    ${CEGUILUA_LIBRARY}
97    ${CEGUI_TOLUA_LIBRARY}
98    ${CEGUI_OGRE_RENDERER_LIBRARY}
99    ${LUA5.1_LIBRARY}
100    cpptcl_orxonox
101    ois_orxonox
102    tinyxml_orxonox
103    util
104  LINK_LIBS_UNIX
105    dl
106    pthread
107  SOURCE_FILES
108    ${CORE_SRC_FILES}
109)
Note: See TracBrowser for help on using the repository browser.