Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/libraries/core/CMakeLists.txt @ 8351

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

Merged kicklib2 branch back to trunk (includes former branches ois_update, mac_osx and kicklib).

Notes for updating

Linux:
You don't need an extra package for CEGUILua and Tolua, it's already shipped with CEGUI.
However you do need to make sure that the OgreRenderer is installed too with CEGUI 0.7 (may be a separate package).
Also, Orxonox now recognises if you install the CgProgramManager (a separate package available on newer Ubuntu on Debian systems).

Windows:
Download the new dependency packages versioned 6.0 and use these. If you have problems with that or if you don't like the in game console problem mentioned below, you can download the new 4.3 version of the packages (only available for Visual Studio 2005/2008).

Key new features:

  • *Support for Mac OS X*
  • Visual Studio 2010 support
  • Bullet library update to 2.77
  • OIS library update to 1.3
  • Support for CEGUI 0.7 —> Support for Arch Linux and even SuSE
  • Improved install target
  • Compiles now with GCC 4.6
  • Ogre Cg Shader plugin activated for Linux if available
  • And of course lots of bug fixes

There are also some regressions:

  • No support for CEGUI 0.5, Ogre 1.4 and boost 1.35 - 1.39 any more
  • In game console is not working in main menu for CEGUI 0.7
  • Tolua (just the C lib, not the application) and CEGUILua libraries are no longer in our repository. —> You will need to get these as well when compiling Orxonox
  • And of course lots of new bugs we don't yet know about
  • Property svn:eol-style set to native
File size: 2.6 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  PathConfig.cc
61COMPILATION_END
62
63  # multithreading
64  ThreadPool.cc
65COMPILATION_BEGIN ThreadCompilation.cc
66  command/TclThreadManager.cc
67  Thread.cc
68COMPILATION_END
69)
70
71ADD_SUBDIRECTORY(command)
72ADD_SUBDIRECTORY(input)
73
74ORXONOX_ADD_LIBRARY(core
75  FIND_HEADER_FILES
76  TOLUA_FILES
77    command/CommandExecutor.h
78    ConfigFileManager.h
79    Game.h
80    GameMode.h
81    GraphicsManager.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    ${CEGUI_TOLUA_LIBRARY}
100    ${CEGUI_OGRE_RENDERER_LIBRARY}
101    ${LUA5.1_LIBRARY}
102    cpptcl_orxonox
103    ois_orxonox
104    tinyxml_orxonox
105    util
106  LINK_LIBS_UNIX
107    dl
108    pthread
109  SOURCE_FILES
110    ${CORE_SRC_FILES}
111)
Note: See TracBrowser for help on using the repository browser.