Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7591


Ignore:
Timestamp:
Oct 27, 2010, 5:47:50 PM (14 years ago)
Author:
youngk
Message:

Adjusted inclusion of ALUT header files for mac and edited the PackageConfigOSX script.

Location:
code/branches/ois_update
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/cmake/PackageConfigOSX.cmake

    r7582 r7591  
    3636SET(DEP_LIBRARY_DIR ${DEPENDENCY_PACKAGE_DIR}/lib)
    3737SET(DEP_BINARY_DIR  ${DEPENDENCY_PACKAGE_DIR}/bin)
     38SET(DEP_FRAMEWORK_DIR ${DEPENDENCY_PACKAGE_DIR}/Library/Frameworks)
    3839
    3940# Sets the library path for the FIND_LIBRARY
     
    4243# Certain find scripts don't behave as ecpected so we have
    4344# to specify the libraries ourselves.
    44 SET(TCL_LIBRARY  ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "")
    45 SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "")
     45#SET(TCL_LIBRARY  ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "")
     46#SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "")
    4647
    4748# Include paths and other special treatments
    48 SET(ENV{ALUTDIR}               ${DEP_INCLUDE_DIR}/freealut)
    49 SET(ENV{BOOST_ROOT}            ${DEP_INCLUDE_DIR}/boost)
    50 SET(ENV{CEGUIDIR}              ${DEP_INCLUDE_DIR}/cegui)
    51 SET(ENV{DBGHELP_DIR}           ${DEP_INCLUDE_DIR}/dbghelp)
    52 SET(ENV{DXSDK_DIR}             ${DEP_INCLUDE_DIR}/directx)
     49#SET(ENV{ALUTDIR}               ${DEP_FRAMEWORK_DIR})
     50SET(ENV{BOOST_ROOT}            ${DEPENDENCY_PACKAGE_DIR})
     51SET(ENV{CEGUIDIR}              ${DEP_FRAMEWORK_DIR})
     52#SET(ENV{DBGHELP_DIR}           ${DEP_INCLUDE_DIR}/dbghelp)
     53#SET(ENV{DXSDK_DIR}             ${DEP_INCLUDE_DIR}/directx)
    5354#SET(ENV{ENETDIR}               ${DEP_INCLUDE_DIR}/enet)
    5455SET(ENV{LUA_DIR}               ${DEP_INCLUDE_DIR}/lua)
    55 SET(ENV{OGGDIR}                ${DEP_INCLUDE_DIR}/libogg)
    56 SET(ENV{VORBISDIR}             ${DEP_INCLUDE_DIR}/libvorbis)
    57 SET(ENV{OGRE_HOME}             ${DEP_INCLUDE_DIR}/ogre)
     56SET(ENV{OGGDIR}                ${DEP_INCLUDE_DIR})
     57SET(ENV{VORBISDIR}             ${DEP_INCLUDE_DIR})
     58SET(ENV{OGRE_HOME}             ${DEP_FRAMEWORK_DIR})
    5859SET(ENV{OGRE_PLUGIN_DIR}       ${DEP_BINARY_DIR})
    59 SET(ENV{OPENALDIR}             ${DEP_INCLUDE_DIR}/openal)
    60 SET(ENV{POCODIR}               ${DEP_INCLUDE_DIR}/poco)
    61 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl/include)
    62 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib/include)
     60#SET(ENV{OPENALDIR}             ${DEP_INCLUDE_DIR}/openal)
     61#SET(ENV{POCODIR}               ${DEP_INCLUDE_DIR}/poco)
     62#LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl/include)
     63#LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib/include)
    6364
    6465### INSTALL ###
  • code/branches/ois_update/src/orxonox/sound/SoundBuffer.cc

    r6502 r7591  
    3030#include "SoundBuffer.h"
    3131
     32#if defined(__APPLE__)
     33#include <ALUT/alut.h>
     34#else
    3235#include <AL/alut.h>
     36#endif
    3337#include <vorbis/vorbisfile.h>
    3438
  • code/branches/ois_update/src/orxonox/sound/SoundManager.cc

    r7284 r7591  
    3131#include "SoundManager.h"
    3232
     33#if defined(__APPLE__)
     34#include <ALUT/alut.h>
     35#else
    3336#include <AL/alut.h>
     37#endif
    3438#include <utility>
    3539#include <loki/ScopeGuard.h>
  • code/branches/ois_update/src/orxonox/sound/WorldSound.cc

    r7284 r7591  
    3030#include "WorldSound.h"
    3131
     32#if defined(__APPLE__)
     33#include <ALUT/alut.h>
     34#else
    3235#include <AL/alut.h>
     36#endif
    3337#include "util/Math.h"
    3438#include "core/CoreIncludes.h"
Note: See TracChangeset for help on using the changeset viewer.