Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

merged branch core7 back to trunk

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