Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 30, 2010, 11:08:38 PM (14 years ago)
Author:
youngk
Message:

Changed handling of the dependency package and increased consistence for options.

Location:
code/branches/ois_update/cmake
Files:
1 added
1 deleted
2 edited

Legend:

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

    r7582 r7682  
    4848# Scripts for specific library and CMake config
    4949INCLUDE(LibraryConfigTardis)
     50#INCLUDE(LibraryConfigOSX)
    5051
    5152IF(DEPENDENCY_PACKAGE_ENABLE)
  • code/branches/ois_update/cmake/PackageConfigOSX.cmake

    r7615 r7682  
    4141SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR})
    4242
    43 # Certain find scripts don't behave as ecpected so we have
    44 # to specify the libraries ourselves.
    45 #SET(TCL_LIBRARY  ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "")
    46 #SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "")
    47 
    4843# Include paths and other special treatments
    4944SET(ENV{ALUTDIR}               ${DEP_FRAMEWORK_DIR})
    5045SET(ENV{BOOST_ROOT}            ${DEPENDENCY_PACKAGE_DIR})
    5146SET(ENV{CEGUIDIR}              ${DEP_FRAMEWORK_DIR})
    52 #SET(ENV{DBGHELP_DIR}           ${DEP_INCLUDE_DIR}/dbghelp)
    53 #SET(ENV{DXSDK_DIR}             ${DEP_INCLUDE_DIR}/directx)
    54 #SET(ENV{ENETDIR}               ${DEP_INCLUDE_DIR}/enet)
    5547SET(ENV{LUA_DIR}               ${DEP_INCLUDE_DIR}/lua)
    5648SET(ENV{OGGDIR}                ${DEP_INCLUDE_DIR})
     
    5850SET(ENV{OGRE_HOME}             ${DEP_FRAMEWORK_DIR})
    5951SET(ENV{OGRE_PLUGIN_DIR}       ${DEP_BINARY_DIR})
    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)
     52
     53# Xcode won't be able to run the toluabind code generation if we're using the dependency package
     54#IF(DEPENDENCY_PACKAGE_ENABLE)
     55#  IF(${CMAKE_GENERATOR} STREQUAL "Xcode")
     56#    SET(ENV{DYLD_LIBRARY_PATH}               ${DEPENDENCY_PACKAGE_DIR}/lib)
     57#    SET(ENV{DYLD_FRAMEWORK_PATH}             ${DEPENDENCY_PACKAGE_DIR}/Library/Frameworks)
     58#  ENDIF(${CMAKE_GENERATOR} STREQUAL "Xcode")
     59#ENDIF(DEPENDENCY_PACKAGE_ENABLE)
    6460
    6561### INSTALL ###
Note: See TracChangeset for help on using the changeset viewer.