Changeset 2657 for code/branches/buildsystem2/cmake
- Timestamp:
- Feb 14, 2009, 4:47:13 PM (16 years ago)
- Location:
- code/branches/buildsystem2/cmake
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/BuildConfig.cmake
r2650 r2657 110 110 111 111 112 ############ Installation Settings ############## 113 114 IF(UNIX) 115 SET(ORXONOX_RUNTIME_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/bin/orxonox) 116 SET(ORXONOX_LIBRARY_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/lib/orxonox) 117 SET(ORXONOX_ARCHIVE_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/lib/orxonox/static) 118 SET(ORXONOX_MEDIA_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/share/orxonox) 119 SET(ORXONOX_DOC_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/share/doc/orxonox) 120 # Not yet used 121 SET(ORXONOX_LOG_INSTALL_PATH ~/.orxonox/log) 122 SET(ORXONOX_CONFIG_INSTALL_PATH ~/.orxonox/config) 123 ELSEIF(WIN32) 124 SET(ORXONOX_RUNTIME_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/bin) 125 SET(ORXONOX_LIBRARY_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/lib) 126 SET(ORXONOX_ARCHIVE_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/lib/static) 127 SET(ORXONOX_MEDIA_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/media) 128 SET(ORXONOX_DOC_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/doc) 129 # Not yet used 130 SET(ORXONOX_LOG_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/log) 131 SET(ORXONOX_CONFIG_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/config) 132 ENDIF() 133 134 135 ################# Unix RPath #################### 136 137 # use, i.e. don't skip the full RPATH for the build tree 138 SET(CMAKE_SKIP_BUILD_RPATH FALSE) 139 140 # when building, don't use the install RPATH already 141 # (but later on when installing) 142 SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) 143 144 # the RPATH to be used when installing 145 SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") 146 147 # add the automatically determined parts of the RPATH 148 # which point to directories outside the build tree to the install RPATH 149 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) 150 151 112 152 ####### Static/Dynamic linking defines ########## 113 153 -
code/branches/buildsystem2/cmake/InstallUtilities.cmake
r2651 r2657 28 28 FUNCTION(ORXONOX_INSTALL) 29 29 INSTALL(TARGETS ${ARGN} 30 RUNTIME DESTINATION bin31 LIBRARY DESTINATION lib32 #ARCHIVE DESTINATION lib30 RUNTIME DESTINATION ${ORXONOX_RUNTIME_INSTALL_PATH} 31 LIBRARY DESTINATION ${ORXONOX_LIBRARY_INSTALL_PATH} 32 #ARCHIVE DESTINATION ${ORXONOX_ARCHIVE_INSTALL_PATH} 33 33 ) 34 34 ENDFUNCTION(ORXONOX_INSTALL)
Note: See TracChangeset
for help on using the changeset viewer.