Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

moved config values and all related functions from Game and Core to GameConfig and CoreConfig respectively. this ensures that no framework features are used by Game and Core before Core itself initialized the framework.

  • Property svn:eol-style set to native
File size: 2.8 KB
RevLine 
[2710]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
[8729]21
22#BUILD_UNIT CoreStableBuildUnit.cc
23  ClassTreeMask.cc
[5693]24  DynLib.cc
25  DynLibManager.cc
[5781]26  Event.cc
[2896]27  Game.cc
[10479]28  GameConfig.cc
[5781]29  GameMode.cc
[1755]30  GameState.cc
[1543]31  Language.cc
[8729]32  Loader.cc
[5695]33  LuaState.cc
[5781]34  Namespace.cc
35  NamespaceNode.cc
36  Template.cc
[10413]37  UpdateListener.cc
[8079]38  ViewportEventListener.cc
39  WindowEventListener.cc
[5781]40  XMLNameListener.cc
[8729]41  XMLPort.cc
42#END_BUILD_UNIT
[1543]43
[8729]44  BaseObject.cc
45  Core.cc
[10479]46  CoreConfig.cc
[8729]47
48BUILD_UNIT OgreBuildUnit.cc
49  GraphicsManager.cc
50  GUIManager.cc
51  Resource.cc
52END_BUILD_UNIT
53
54BUILD_UNIT FilesystemBuildUnit.cc
[7284]55  command/ArgumentCompletionFunctions.cc
[9667]56  config/ConfigFile.cc
[5929]57  PathConfig.cc
[8729]58END_BUILD_UNIT
[5929]59
[8729]60BUILD_UNIT ThreadBuildUnit.cc
[7284]61  command/TclThreadManager.cc
[3304]62  Thread.cc
[8729]63  ThreadPool.cc
64END_BUILD_UNIT
[1505]65)
[5929]66
[9667]67ADD_SUBDIRECTORY(class)
[7284]68ADD_SUBDIRECTORY(command)
[10343]69ADD_SUBDIRECTORY(commandline)
[9667]70ADD_SUBDIRECTORY(config)
[5781]71ADD_SUBDIRECTORY(input)
[10342]72ADD_SUBDIRECTORY(module)
[9667]73ADD_SUBDIRECTORY(object)
[10407]74ADD_SUBDIRECTORY(singleton)
[1505]75
[10267]76#Add the icon (for the renderwindow)
[10268]77IF(WIN32)
[10267]78  List(APPEND CORE_SRC_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc)
79ENDIF()
80
[3196]81ORXONOX_ADD_LIBRARY(core
82  FIND_HEADER_FILES
83  TOLUA_FILES
[7284]84    command/CommandExecutor.h
[9667]85    config/SettingsConfigFile.h
[6417]86    Game.h
87    GameMode.h
[8079]88    GraphicsManager.h
[6417]89    GUIManager.h
[5781]90    Loader.h
[5695]91    LuaState.h
[6417]92    PathConfig.h
93    input/InputManager.h
94    input/KeyBinder.h
95    input/KeyBinderManager.h
[8858]96    ../util/output/OutputDefinitions.h
[3196]97  PCH_FILE
98    CorePrecompiledHeaders.h
99  LINK_LIBRARIES
100    ${OGRE_LIBRARY}
[3370]101    ${Boost_FILESYSTEM_LIBRARY}
102    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
[3196]103    ${Boost_THREAD_LIBRARY}
[3370]104    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
[5781]105    ${CEGUI_LIBRARY}
106    ${CEGUILUA_LIBRARY}
[8351]107    ${CEGUI_TOLUA_LIBRARY}
108    ${CEGUI_OGRE_RENDERER_LIBRARY}
109    ${LUA5.1_LIBRARY}
[5781]110    cpptcl_orxonox
111    ois_orxonox
[7163]112    tinyxml_orxonox
[3196]113    util
[8351]114  LINK_LIBS_UNIX
115    dl
116    pthread
[3196]117  SOURCE_FILES
118    ${CORE_SRC_FILES}
[1505]119)
Note: See TracBrowser for help on using the repository browser.