Changeset 3370 for code/trunk/cmake
- Timestamp:
- Jul 30, 2009, 2:10:44 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/resource (added) merged: 3328,3336-3340,3342-3350,3352-3366
- Property svn:mergeinfo changed
-
code/trunk/cmake/Media.cmake
r2721 r3370 45 45 ################ Installation ################# 46 46 47 # Try no to copy both tcl script file libraries48 IF(TCL_LIBRARY MATCHES "85|8\\.5")49 SET(TCL_EXCLUDE_PATTERN "tcl8\\.4")50 ELSEIF(TCL_LIBRARY MATCHES "84|8\\.4")51 SET(TCL_EXCLUDE_PATTERN "tcl8\\.5")52 ENDIF()53 54 47 INSTALL( 55 48 DIRECTORY ${CMAKE_MEDIA_OUTPUT_DIRECTORY}/ 56 49 DESTINATION ${ORXONOX_MEDIA_INSTALL_PATH} 57 REGEX "\\.svn$|_svn$|backToPNG |${TCL_EXCLUDE_PATTERN}" EXCLUDE50 REGEX "\\.svn$|_svn$|backToPNG" EXCLUDE 58 51 ) -
code/trunk/cmake/PackageConfig.cmake
r3309 r3370 5 5 # MAJOR: Interface breaking change somewhere (library version changed, etc.) 6 6 # MINOR: Bug fix or small conformant changes 7 SET(DEPENDENCY_VERSION_REQUIRED 2)7 SET(DEPENDENCY_VERSION_REQUIRED 3) 8 8 IF(NOT EXISTS ${DEPENDENCY_PACKAGE_DIR}/version.txt) 9 9 SET(DEPENDENCY_VERSION 1.0) … … 31 31 32 32 # Include paths and other special treatments 33 SET(ENV{ALUTDIR} ${DEP_INCLUDE_DIR}/freealut -1.1.0)34 SET(ENV{BOOST_ROOT} ${DEP_INCLUDE_DIR}/boost -1.39.0)35 SET(ENV{CEGUIDIR} ${DEP_INCLUDE_DIR}/cegui -0.6.2)36 SET(ENV{DXSDK_DIR} ${DEP_INCLUDE_DIR}/directx -2007.aug)37 SET(ENV{ENETDIR} ${DEP_INCLUDE_DIR}/enet -1.2)38 SET(ENV{LUA_DIR} ${DEP_INCLUDE_DIR}/lua -5.1.4)39 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}/libogg -1.1.3)40 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}/libvorbis -1.2.0)41 SET(ENV{OGRE_HOME} ${DEP_INCLUDE_DIR}/ogre -1.4.9)33 SET(ENV{ALUTDIR} ${DEP_INCLUDE_DIR}/freealut) 34 SET(ENV{BOOST_ROOT} ${DEP_INCLUDE_DIR}/boost) 35 SET(ENV{CEGUIDIR} ${DEP_INCLUDE_DIR}/cegui) 36 SET(ENV{DXSDK_DIR} ${DEP_INCLUDE_DIR}/directx) 37 SET(ENV{ENETDIR} ${DEP_INCLUDE_DIR}/enet) 38 SET(ENV{LUA_DIR} ${DEP_INCLUDE_DIR}/lua) 39 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}/libogg) 40 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}/libvorbis) 41 SET(ENV{OGRE_HOME} ${DEP_INCLUDE_DIR}/ogre) 42 42 SET(ENV{OGRE_PLUGIN_DIR} ${DEP_BINARY_DIR}) 43 SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal -1.1)44 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl -8.5.2/include)45 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib -1.2.3/include)43 SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal) 44 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl/include) 45 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib/include) 46 46 47 47 ### INSTALL ### 48 49 # Tcl script library 50 INSTALL( 51 DIRECTORY ${DEP_LIBRARY_DIR}/tcl/ 52 DESTINATION lib/tcl 53 ) 54 48 55 # On Windows, DLLs have to be in the executable folder, install them 49 56 IF(WIN32 AND DEP_BINARY_DIR) -
code/trunk/cmake/PackageConfigMSVC.cmake
r3196 r3370 58 58 59 59 # Visual Leak Detector 60 SET(VLD_INCLUDE_DIR ${DEP_INCLUDE_DIR}/vld -1.9hCACHE PATH "")61 SET(VLD_LIBRARY_DIR ${DEP_LIBRARY_DIR} 60 SET(VLD_INCLUDE_DIR ${DEP_INCLUDE_DIR}/vld CACHE PATH "") 61 SET(VLD_LIBRARY_DIR ${DEP_LIBRARY_DIR} CACHE PATH "") 62 62 LINK_DIRECTORIES(${VLD_LIBRARY_DIR}) # Used for auto-linking 63 63 MARK_AS_ADVANCED(VLD_INCLUDE_DIR VLD_LIBRARY_DIR)
Note: See TracChangeset
for help on using the changeset viewer.