Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11278 for code/branches


Ignore:
Timestamp:
Nov 8, 2016, 9:05:10 AM (8 years ago)
Author:
ahedges
Message:

comment out some stuff and update the cmake file for macOS 10.12

Location:
code/branches/mac_HS16
Files:
1 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_HS16/CMakeLists.txt

    r10624 r11278  
    143143
    144144IF(APPLE)
    145   # Set 10.5 as the base SDK by default
    146   SET(XCODE_ATTRIBUTE_SDKROOT macosx10.5)
    147 
    148   # 10.6 sets x86_64 as the default architecture.
    149   # Because Carbon isn't supported on 64-bit and we still need it, force the architectures to ppc and i386
    150   IF(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
    151     SET(CMAKE_OSX_ARCHITECTURES "i386")
    152   ENDIF()
    153   IF(CMAKE_OSX_ARCHITECTURES MATCHES "ppc64")
    154     SET(CMAKE_OSX_ARCHITECTURES "ppc")
    155   ENDIF()
    156   IF(NOT CMAKE_OSX_ARCHITECTURES)
    157     SET(CMAKE_OSX_ARCHITECTURES "i386")
    158   ENDIF()
     145  # Use the latest SDK and a minimum deployment target of Mountain Lion
     146  SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.8")
     147  set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
     148  SET(CMAKE_OSX_ARCHITECTURES "x86_64")
    159149ENDIF()
    160150
     
    188178ADD_SUBDIRECTORY(doc)
    189179
     180IF(APPLE)
     181        INCLUDE(CopyLibPhase)
     182ENDIF(APPLE)
     183
    190184########### CPack Packaging ###########
    191185
    192186# Currently only testing on Apple
    193 #IF(APPLE)
    194 INCLUDE(BundleConfig)
    195 #ENDIF(APPLE)
     187# IF(APPLE)
     188 INCLUDE(BundleConfig)
     189# ENDIF(APPLE)
  • code/branches/mac_HS16/cmake/LibraryConfig.cmake

    r11113 r11278  
    5353    # Let CMake automatically download and extract the dependency package on Mac OS X
    5454    # TODO: Handle download errors and always select newest package
    55     SET(_dep_package_current "OrxonoxDeps_110428_2.0_OSX.tar.bz2")
     55    SET(_dep_package_current "OrxonoxDeps_110530_3.0_OSX.tar.bz2")
    5656    SET(_dep_package_url "http://svn.orxonox.net/ogre/apple/precompiled_dependencies")
    5757    MESSAGE(STATUS "Downloading Mac OS X dependency package.")
     
    159159##### Boost #####
    160160# Expand the next statement if newer boost versions are released
     161SET(Boost_USE_MULTITHREADED OFF) # on newer version -mt is dropped
    161162SET(Boost_ADDITIONAL_VERSIONS 1.40 1.40.0 1.41 1.41.0 1.42 1.42.0 1.43 1.43.0
    162163                              1.44 1.44.0 1.45 1.45.0 1.46 1.46.0 1.46.1 1.49.0
    163                               1.53.0)
     164                          1.53.0)
    164165FIND_PACKAGE(Boost 1.40 REQUIRED thread filesystem system date_time)
    165166# No auto linking, so this option is useless anyway
     
    213214# Note 2: Render systems are found automatically (at least one required)
    214215CHECK_OGRE_PLUGINS("Plugin_ParticleFX" "Plugin_CgProgramManager")
    215 
  • code/branches/mac_HS16/cmake/PackageConfigOSX.cmake

    r8368 r11278  
    2626INCLUDE(CheckPackageVersion)
    2727
    28 CHECK_PACKAGE_VERSION(2.0)
     28CHECK_PACKAGE_VERSION(3.0)
    2929
    3030IF(NOT _INTERNAL_PACKAGE_MESSAGE)
    3131  MESSAGE(STATUS "Using library package for the dependencies.")
    32  
     32
    3333  # The following shell script sets the appropriate install_names for our libraries
    3434  # and therefore it must be run before anything else is set, dep-package-wise.
     
    3838      COMMAND ${DEPENDENCY_PACKAGE_DIR}/install_dependencies.sh
    3939      WORKING_DIRECTORY ${DEPENDENCY_PACKAGE_DIR}
    40       OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me 
     40      OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me
    4141    )
    4242  ENDIF()
     
    6262SET(OGRE_NEEDS_BOOST TRUE)
    6363
    64 # For OS X 10.5 we have to ship modified headers to make it compile
    65 # on gcc >= 4.2 (binaries stay the same)
    66 # Sets the library path for the FIND_LIBRARY
    67 IF(CMAKE_SYSTEM_VERSION STREQUAL "10.5")
    68   SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal)
    69 ENDIF()
    70 
    7164### INSTALL ###
    7265
     
    7871#  DESTINATION lib/tcl
    7972#)
    80 
    81 # TODO: Install on OSX
    82 IF(FALSE)
    83   ## DEBUG
    84   # When installing a debug version, we really can't know which libraries
    85   # are used in released mode because there might be deps of deps.
    86   # --> Copy all of them, except the debug databases
    87   INSTALL(
    88     DIRECTORY ${DEP_BINARY_DIR}/
    89     DESTINATION bin
    90     CONFIGURATIONS Debug
    91     REGEX "^.*\\.pdb$" EXCLUDE
    92   )
    93 
    94   ## RELEASE
    95   # Try to filter out all the debug libraries. If the regex doesn't do the
    96   # job anymore, simply adjust it.
    97   INSTALL(
    98     DIRECTORY ${DEP_BINARY_DIR}/
    99     DESTINATION bin
    100     CONFIGURATIONS RelForDevs Release RelWithDebInfo MinSizeRel
    101     REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE
    102   )
    103 ENDIF()
  • code/branches/mac_HS16/cmake/tools/FindCEGUI.cmake

    r11117 r11278  
    9191)
    9292
     93MESSAGE("Looking for ceguitolua++")
     94MESSAGE(${DEP_INCLUDE_DIR})
     95
    9396# Find CEGUI Tolua++ include file
    9497# We only need to add this path since we use tolua++ like a normal
     
    99102    # For newer CEGUI versions >= 0.7
    100103    ${CEGUILUA_INCLUDE_DIR}/support/tolua++
    101     ${DEP_INCLUDE_DIR}/tolua++/include
    102     # For Mac OS X, tolua++ is a separate framework in the dependency package
    103     ${DEP_FRAMEWORK_DIR}
     104    ${DEP_INCLUDE_DIR}/tolua++
    104105  NO_DEFAULT_PATH # Don't attempt to find tolua++ installed on the system
    105106)
  • code/branches/mac_HS16/src/external/tolua/CMakeLists.txt

    r11251 r11278  
    3535SET(TOLUA_PARSER_DEPENDENCIES
    3636  toluaapp_orxonox
    37   ${CMAKE_CURRENT_SOURCE_DIR}/tolua++.h
    3837  ${CMAKE_CURRENT_SOURCE_DIR}/all-5.1.lua
    3938  ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat-5.1.lua
  • code/branches/mac_HS16/src/orxonox/worldentities/Actionpoint.cc

    r11052 r11278  
    3131namespace orxonox
    3232{
    33     RegisterClass(Actionpoint);
     33//    RegisterClass(Actionpoint); ?
    3434
    3535    Actionpoint::Actionpoint(Context* context) : StaticEntity(context)
    3636    {
    37         RegisterObject(Actionpoint);
     37//        RegisterObject(Actionpoint);
    3838       
    3939        this->actionName_ = "";
Note: See TracChangeset for help on using the changeset viewer.