Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/core/CMakeLists.txt @ 3086

Last change on this file since 3086 was 3036, checked in by bknecht, 16 years ago

we do now save what level you chose last time and will preselect it for you on restart ;-). Of course you can still use —level or -l to choose your level in the old way.

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