Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/usability/src/libraries/core/CMakeLists.txt @ 7966

Last change on this file since 7966 was 7966, checked in by landauf, 13 years ago

some changes related to camera switching:

  • added ViewportEventListener (currently only listens to camera changes in a viewport)
  • Shader now correctly updates its visibility if the camera changes the scene
  • (the same lines of code also fix the weird Ogre behavior which was originally fixed in CameraManager)
  • GraphicsManager also updates the GUIManager's camera
  • if all cameras are destroyed, CameraManager now officially switches to NULL camera
  • Property svn:eol-style set to native
File size: 2.5 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  CommandLineParser.cc
22  ConfigValueContainer.cc
23  Core.cc
24  DynLib.cc
25  DynLibManager.cc
26  Event.cc
27  Game.cc
28  GameMode.cc
29  GameState.cc
30  GraphicsManager.cc
31  GUIManager.cc
32  Language.cc
33  LuaState.cc
34  ObjectListBase.cc
35  OrxonoxClass.cc
36  Resource.cc
37
38  # hierarchy
39  Identifier.cc
40  MetaObjectList.cc
41
42  # level
43  BaseObject.cc
44  ClassTreeMask.cc
45  Loader.cc
46  Namespace.cc
47  NamespaceNode.cc
48  Template.cc
49  XMLPort.cc
50
51COMPILATION_BEGIN ListenerCompilation.cc
52  ViewportEventListener.cc
53  WindowEventListener.cc
54  XMLNameListener.cc
55COMPILATION_END
56
57COMPILATION_BEGIN FilesystemCompilation.cc
58  command/ArgumentCompletionFunctions.cc
59  ConfigFileManager.cc
60  MemoryArchive.cc
61  PathConfig.cc
62COMPILATION_END
63
64  # multithreading
65  ThreadPool.cc
66COMPILATION_BEGIN ThreadCompilation.cc
67  command/TclThreadManager.cc
68  Thread.cc
69COMPILATION_END
70)
71
72ADD_SUBDIRECTORY(command)
73ADD_SUBDIRECTORY(input)
74
75ORXONOX_ADD_LIBRARY(core
76  FIND_HEADER_FILES
77  TOLUA_FILES
78    command/CommandExecutor.h
79    ConfigFileManager.h
80    Game.h
81    GameMode.h
82    GUIManager.h
83    Loader.h
84    LuaState.h
85    PathConfig.h
86    input/InputManager.h
87    input/KeyBinder.h
88    input/KeyBinderManager.h
89  PCH_FILE
90    CorePrecompiledHeaders.h
91  LINK_LIBRARIES
92    ${OGRE_LIBRARY}
93    ${Boost_FILESYSTEM_LIBRARY}
94    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
95    ${Boost_THREAD_LIBRARY}
96    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
97    ${CEGUI_LIBRARY}
98    ${CEGUILUA_LIBRARY}
99    ${LUA_LIBRARIES}
100    cpptcl_orxonox
101    ogreceguirenderer_orxonox
102    ois_orxonox
103    tinyxml_orxonox
104    tolua_orxonox
105    util
106  SOURCE_FILES
107    ${CORE_SRC_FILES}
108)
Note: See TracBrowser for help on using the repository browser.