Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core7/src/libraries/core/CMakeLists.txt @ 10531

Last change on this file since 10531 was 10531, checked in by landauf, 9 years ago

added draft for StaticInitializationHandler

  • Property svn:eol-style set to native
File size: 2.9 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  GameConfig.cc
29  GameMode.cc
30  GameState.cc
31  Language.cc
32  Loader.cc
33  LuaState.cc
34  Namespace.cc
35  NamespaceNode.cc
36  Template.cc
37  UpdateListener.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  CoreConfig.cc
47  CoreStaticInitializationHandler.cc
48
49BUILD_UNIT OgreBuildUnit.cc
50  GraphicsManager.cc
51  GUIManager.cc
52  Resource.cc
53END_BUILD_UNIT
54
55BUILD_UNIT FilesystemBuildUnit.cc
56  command/ArgumentCompletionFunctions.cc
57  config/ConfigFile.cc
58  ApplicationPaths.cc
59  ConfigurablePaths.cc
60END_BUILD_UNIT
61
62BUILD_UNIT ThreadBuildUnit.cc
63  command/TclThreadManager.cc
64  Thread.cc
65  ThreadPool.cc
66END_BUILD_UNIT
67)
68
69ADD_SUBDIRECTORY(class)
70ADD_SUBDIRECTORY(command)
71ADD_SUBDIRECTORY(commandline)
72ADD_SUBDIRECTORY(config)
73ADD_SUBDIRECTORY(input)
74ADD_SUBDIRECTORY(module)
75ADD_SUBDIRECTORY(object)
76ADD_SUBDIRECTORY(singleton)
77
78#Add the icon (for the renderwindow)
79IF(WIN32)
80  List(APPEND CORE_SRC_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc)
81ENDIF()
82
83ORXONOX_ADD_LIBRARY(core
84  FIND_HEADER_FILES
85  TOLUA_FILES
86    command/CommandExecutor.h
87    config/SettingsConfigFile.h
88    ApplicationPaths.h
89    ConfigurablePaths.h
90    Game.h
91    GameMode.h
92    GraphicsManager.h
93    GUIManager.h
94    Loader.h
95    LuaState.h
96    input/InputManager.h
97    input/KeyBinder.h
98    input/KeyBinderManager.h
99    ../util/output/OutputDefinitions.h
100  PCH_FILE
101    CorePrecompiledHeaders.h
102  LINK_LIBRARIES
103    ${OGRE_LIBRARY}
104    ${Boost_FILESYSTEM_LIBRARY}
105    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
106    ${Boost_THREAD_LIBRARY}
107    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
108    ${CEGUI_LIBRARY}
109    ${CEGUILUA_LIBRARY}
110    ${CEGUI_TOLUA_LIBRARY}
111    ${CEGUI_OGRE_RENDERER_LIBRARY}
112    ${LUA5.1_LIBRARY}
113    cpptcl_orxonox
114    ois_orxonox
115    tinyxml_orxonox
116    util
117  LINK_LIBS_UNIX
118    dl
119    pthread
120  SOURCE_FILES
121    ${CORE_SRC_FILES}
122)
Note: See TracBrowser for help on using the repository browser.