Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/kicklib2/src/libraries/core/CMakeLists.txt @ 8341

Last change on this file since 8341 was 8341, checked in by rgrieder, 13 years ago

Added new library linking keywords for the Add Target Command.
That makes OS specific library linking less tedious to read.

  • Property svn:eol-style set to native
File size: 2.6 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
[7284]21  CommandLineParser.cc
[1505]22  ConfigValueContainer.cc
[1535]23  Core.cc
[5693]24  DynLib.cc
25  DynLibManager.cc
[5781]26  Event.cc
[2896]27  Game.cc
[5781]28  GameMode.cc
[1755]29  GameState.cc
[5781]30  GraphicsManager.cc
31  GUIManager.cc
[1543]32  Language.cc
[5695]33  LuaState.cc
[1747]34  ObjectListBase.cc
[1543]35  OrxonoxClass.cc
[5781]36  Resource.cc
[1543]37
38  # hierarchy
39  Identifier.cc
40  MetaObjectList.cc
41
42  # level
43  BaseObject.cc
[5781]44  ClassTreeMask.cc
45  Loader.cc
46  Namespace.cc
47  NamespaceNode.cc
48  Template.cc
49  XMLPort.cc
[8079]50
51COMPILATION_BEGIN ListenerCompilation.cc
52  ViewportEventListener.cc
53  WindowEventListener.cc
[5781]54  XMLNameListener.cc
[8079]55COMPILATION_END
[1543]56
[5929]57COMPILATION_BEGIN FilesystemCompilation.cc
[7284]58  command/ArgumentCompletionFunctions.cc
[5929]59  ConfigFileManager.cc
60  PathConfig.cc
61COMPILATION_END
62
63  # multithreading
64  ThreadPool.cc
65COMPILATION_BEGIN ThreadCompilation.cc
[7284]66  command/TclThreadManager.cc
[3304]67  Thread.cc
[5929]68COMPILATION_END
[1505]69)
[5929]70
[7284]71ADD_SUBDIRECTORY(command)
[5781]72ADD_SUBDIRECTORY(input)
[1505]73
[3196]74ORXONOX_ADD_LIBRARY(core
75  FIND_HEADER_FILES
76  TOLUA_FILES
[7284]77    command/CommandExecutor.h
[6417]78    ConfigFileManager.h
79    Game.h
80    GameMode.h
[8079]81    GraphicsManager.h
[6417]82    GUIManager.h
[5781]83    Loader.h
[5695]84    LuaState.h
[6417]85    PathConfig.h
86    input/InputManager.h
87    input/KeyBinder.h
88    input/KeyBinderManager.h
[3196]89  PCH_FILE
90    CorePrecompiledHeaders.h
91  LINK_LIBRARIES
92    ${OGRE_LIBRARY}
[3370]93    ${Boost_FILESYSTEM_LIBRARY}
94    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
[3196]95    ${Boost_THREAD_LIBRARY}
[3370]96    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
[5781]97    ${CEGUI_LIBRARY}
98    ${CEGUILUA_LIBRARY}
[8283]99    ${CEGUI_TOLUA_LIBRARY}
100    ${CEGUI_OGRE_RENDERER_LIBRARY}
101    ${LUA5.1_LIBRARY}
[5781]102    cpptcl_orxonox
103    ois_orxonox
[7163]104    tinyxml_orxonox
[3196]105    util
[8341]106  LINK_LIBS_UNIX
107    dl
108    pthread
[3196]109  SOURCE_FILES
110    ${CORE_SRC_FILES}
[1505]111)
Note: See TracBrowser for help on using the repository browser.