Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/questsystem5/src/core/CMakeLists.txt @ 3012

Last change on this file since 3012 was 2908, checked in by dafrick, 16 years ago

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

  • Property svn:eol-style set to native
File size: 2.2 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  Clock.cc
22  ConfigFileManager.cc
23  ConfigValueContainer.cc
24  Core.cc
25  Event.cc
26  GameState.cc
27  Language.cc
28  LuaBind.cc
29  ObjectListBase.cc
30  OrxonoxClass.cc
31  RootGameState.cc
32
33  # command
34  ArgumentCompletionFunctions.cc
35  CommandEvaluation.cc
36  CommandExecutor.cc
37  CommandLine.cc
38  ConsoleCommand.cc
39  ConsoleCommandCompilation.cc
40  Executor.cc
41
42  # hierarchy
43  Factory.cc
44  Identifier.cc
45  MetaObjectList.cc
46
47  # level
48  BaseObject.cc
49  ClassTreeMask.cc
50  Loader.cc
51  Namespace.cc
52  NamespaceNode.cc
53  Template.cc
54  XMLPort.cc
55  XMLNameListener.cc
56
57  # shell
58  IRC.cc
59  Shell.cc
60  TclBind.cc
61  TclThreadManager.cc
62)
63ADD_SUBDIRECTORY(input)
64GET_ALL_HEADER_FILES(CORE_HDR_FILES)
65SET(CORE_FILES ${CORE_SRC_FILES} ${CORE_HDR_FILES})
66
67GENERATE_SOURCE_GROUPS(${CORE_FILES})
68GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h)
69
70ADD_LIBRARY(core SHARED ${CORE_FILES})
71
72SET_TARGET_PROPERTIES(core PROPERTIES DEFINE_SYMBOL "CORE_SHARED_BUILD")
73TARGET_LINK_LIBRARIES(core
74  ${OGRE_LIBRARY}
75  ${Boost_THREAD_LIBRARY}
76  ${Boost_FILESYSTEM_LIBRARY}
77  ${Boost_SYSTEM_LIBRARY}
78  ${Boost_DATE_TIME_LIBRARY} # MSVC only
79  ${LUA_LIBRARIES}
80  cpptcl_orxonox
81  ois_orxonox
82  tinyxml++_orxonox
83  tolua++_orxonox
84  util
85)
86
87ORXONOX_INSTALL(core)
Note: See TracBrowser for help on using the repository browser.