Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2009, 10:51:21 PM (15 years ago)
Author:
rgrieder
Message:
  • New option for developers: Define ORXONOX_DEV as environment variable and the install command will make a copyable installation to ${CMAKE_BINARY_DIR}/install.
  • Removed reoccurring "Using package for library…" message (displayed only once now)
  • Using CMAKE_DEPENDENT_OPTION for the PCH_ENABLE_${target} options
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/cmake/InstallConfig.cmake

    r5664 r5667  
    2424 #
    2525
     26IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) # Variable provided by CMake
     27  IF("$ENV{ORXONOX_DEV}" OR TARDIS)
     28    SET(_install_prefix_changed 1)
     29    SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install CACHE PATH
     30        "Install path prefix, prepended onto install directories." FORCE)
     31  ENDIF()
     32ENDIF()
     33
    2634SET(_info_text "Puts all installed files in subfolders of the install prefix path. That root folder can then be moved, copied and renamed as you wish. The executable will not write to folders like ~/.orxonox or \"Applictation Data\"")
    27 IF(UNIX)
     35IF(UNIX AND NOT _install_prefix_changed)
    2836  OPTION(INSTALL_COPYABLE "${_info_text}" FALSE)
    2937ELSE()
Note: See TracChangeset for help on using the changeset viewer.