- Timestamp:
- Nov 30, 2010, 11:08:38 PM (14 years ago)
- Location:
- code/branches/ois_update
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/cmake/LibraryConfig.cmake
r7582 r7682 48 48 # Scripts for specific library and CMake config 49 49 INCLUDE(LibraryConfigTardis) 50 #INCLUDE(LibraryConfigOSX) 50 51 51 52 IF(DEPENDENCY_PACKAGE_ENABLE) -
code/branches/ois_update/cmake/PackageConfigOSX.cmake
r7615 r7682 41 41 SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR}) 42 42 43 # Certain find scripts don't behave as ecpected so we have44 # 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 48 43 # Include paths and other special treatments 49 44 SET(ENV{ALUTDIR} ${DEP_FRAMEWORK_DIR}) 50 45 SET(ENV{BOOST_ROOT} ${DEPENDENCY_PACKAGE_DIR}) 51 46 SET(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)55 47 SET(ENV{LUA_DIR} ${DEP_INCLUDE_DIR}/lua) 56 48 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}) … … 58 50 SET(ENV{OGRE_HOME} ${DEP_FRAMEWORK_DIR}) 59 51 SET(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) 64 60 65 61 ### INSTALL ### -
code/branches/ois_update/src/SpecialConfig.h.in
r7450 r7682 94 94 95 95 // OGRE PLUGINS 96 // Apple has trouble finding OGRE plugins because of its install-name convention 97 // Adopting the executable_path structure for later use in app bundles 96 98 #ifdef NDEBUG 97 99 const char ogrePlugins[] = "@OGRE_PLUGINS_RELEASE@"; 98 100 # ifdef DEPENDENCY_PACKAGE_ENABLE 99 const char ogrePluginsDirectory[] = "."; 101 # ifdef ORXONOX_PLATFORM_APPLE 102 const char ogrePluginsDirectory[] = "@executable_path/../Plugins"; 103 # else 104 const char ogrePluginsDirectory[] = "."; 105 # endif 100 106 # else 101 107 const char ogrePluginsDirectory[] = "@OGRE_PLUGINS_FOLDER_RELEASE@"; … … 104 110 const char ogrePlugins[] = "@OGRE_PLUGINS_DEBUG@"; 105 111 # ifdef DEPENDENCY_PACKAGE_ENABLE 106 const char ogrePluginsDirectory[] = "."; 112 # ifdef ORXONOX_PLATFORM_APPLE 113 const char ogrePluginsDirectory[] = "@OGRE_PLUGINS_FOLDER_DEBUG@"; 114 # else 115 const char ogrePluginsDirectory[] = "."; 116 # endif 107 117 # else 108 118 const char ogrePluginsDirectory[] = "@OGRE_PLUGINS_FOLDER_DEBUG@";
Note: See TracChangeset
for help on using the changeset viewer.