Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2011, 7:15:14 AM (13 years ago)
Author:
rgrieder
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/CMakeLists.txt

    r7383 r8351  
    2424 #
    2525
     26# Defined LINUX
     27IF(UNIX AND NOT APPLE)
     28  SET(LINUX TRUE)
     29ENDIF()
     30
    2631IF(WIN32)
    27   CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
     32  IF(MSVC10)
     33    CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3 FATAL_ERROR)
     34  ELSE()
     35    CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
     36  ENDIF()
    2837ELSE()
    29   CMAKE_MINIMUM_REQUIRED(VERSION 2.6   FATAL_ERROR)
     38  CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
    3039ENDIF()
    3140
     
    5766SET(DEFAULT_CONFIG_PATH  config)
    5867SET(DEFAULT_LOG_PATH     log)
     68SET(DEFAULT_BUNDLE_PATH  bundle)
    5969
    6070# Set output directories
     
    98108ENDIF()
    99109
     110# Debug builds can not be installed
     111INSTALL(SCRIPT cmake/InstallCheck.cmake)
     112
    100113# Enable expensive optimisations: use this for a binary release build
    101114OPTION(ORXONOX_RELEASE "Enable when building restributable releases" FALSE)
    102115
     116IF(APPLE)
     117  # Set 10.5 as the base SDK by default
     118  SET(XCODE_ATTRIBUTE_SDKROOT macosx10.5)
     119
     120  # 10.6 sets x86_64 as the default architecture.
     121  # Because Carbon isn't supported on 64-bit and we still need it, force the architectures to ppc and i386
     122  IF(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
     123    SET(CMAKE_OSX_ARCHITECTURES "i386")
     124  ENDIF()
     125  IF(CMAKE_OSX_ARCHITECTURES MATCHES "ppc64")
     126    SET(CMAKE_OSX_ARCHITECTURES "ppc")
     127  ENDIF()
     128  IF(NOT CMAKE_OSX_ARCHITECTURES)
     129    SET(CMAKE_OSX_ARCHITECTURES "i386")
     130  ENDIF()
     131ENDIF()
     132
    103133########### Subfolders and Subscripts ###########
     134
     135# General build and compiler options and configurations
     136INCLUDE(CompilerConfig)
    104137
    105138# Library finding
    106139INCLUDE(LibraryConfig)
    107 
    108 # General build and compiler options and configurations
    109 INCLUDE(CompilerConfig)
    110140
    111141# Configure installation paths and options
     
    121151ADD_SUBDIRECTORY(bin)
    122152
     153# System specific files (mostly for installation)
     154ADD_SUBDIRECTORY(contrib)
     155
    123156# Last but not least: Try to make a doc target with Doxygen
    124157ADD_SUBDIRECTORY(doc)
     158
     159########### CPack Packaging ###########
     160
     161# Currently only testing on Apple
     162#IF(APPLE)
     163#  INCLUDE(BundleConfig)
     164#ENDIF(APPLE)
Note: See TracChangeset for help on using the changeset viewer.