Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10267 was 10267, checked in by muemart, 9 years ago

Add program icon for Windows builds (MSVC only for now)

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