Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2723


Ignore:
Timestamp:
Mar 1, 2009, 6:17:18 PM (16 years ago)
Author:
rgrieder
Message:

Unix update for the copyable installation.

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/CMakeLists.txt

    r2722 r2723  
    5959  CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/orxonox_dev_build.keep_me ${CURRENT_RUNTIME_DIR}/orxonox_dev_build.keep_me)
    6060ENDFOREACH(_subdir)
     61
     62
     63# Make a symlink to be able to run from the root directory when installing copyable on Unix
     64IF(UNIX AND INSTALL_COPYABLE)
     65  INSTAll(CODE "EXECUTE_PROCESS(COMMAND ln -sf ${ORXONOX_RUNTIME_INSTALL_PATH}/${ORXONOX_EXECUTABLE_NAME} ${CMAKE_INSTALL_PREFIX}/orxonox)")
     66ENDIF()
  • code/trunk/cmake/BuildConfig.cmake

    r2719 r2723  
    141141  # For CMake operations CMAKE_INSTALL_PREFIX is always appended.
    142142  SET(ORXONOX_RUNTIME_INSTALL_PATH ${DEFAULT_RUNTIME_PATH})
    143   # Also use runtime directory to have the libraries found when executing from anywhere
    144   SET(ORXONOX_LIBRARY_INSTALL_PATH ${DEFAULT_RUNTIME_PATH})
     143  SET(ORXONOX_LIBRARY_INSTALL_PATH ${DEFAULT_LIBRARY_PATH})
    145144  SET(ORXONOX_ARCHIVE_INSTALL_PATH ${DEFAULT_ARCHIVE_PATH})
    146145  SET(ORXONOX_DOC_INSTALL_PATH     ${DEFAULT_DOC_PATH})
Note: See TracChangeset for help on using the changeset viewer.