Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pch/src/core/CMakeLists.txt @ 3187

Last change on this file since 3187 was 3160, checked in by rgrieder, 15 years ago

Added precompiled header file for the core library.
It contains as little as possible but enough to give a little speed up.
Note that Identifier.h is included because it makes a big difference and a change to it triggers an 80% rebuild anyway.

  • Property svn:eol-style set to native
File size: 2.1 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)
65
66ORXONOX_ADD_LIBRARY(core
67  FIND_HEADER_FILES
68  TOLUA_FILES
69    CommandExecutor.h
70    Game.h
71    LuaBind.h
72  DEFINE_SYMBOL
73    "CORE_SHARED_BUILD"
74  PCH_FILE
75    CorePrecompiledHeaders.h
76  LINK_LIBRARIES
77    ${OGRE_LIBRARY}
78    ${Boost_THREAD_LIBRARY}
79    ${Boost_FILESYSTEM_LIBRARY}
80    ${Boost_SYSTEM_LIBRARY}
81    ${Boost_DATE_TIME_LIBRARY} # MSVC only
82    ${LUA_LIBRARIES}
83    cpptcl_orxonox
84    ois_orxonox
85    tinyxml++_orxonox
86    tolua++_orxonox
87    util
88  SOURCE_FILES
89    ${CORE_SRC_FILES}
90)
Note: See TracBrowser for help on using the repository browser.