Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2009, 9:41:17 AM (16 years ago)
Author:
rgrieder
Message:
  • Installation instructions for the config files (tcl scripts and ini files). This is temporary until we have config directory.
  • On windows, all DLLs from a precompiled package get installed too
  • added media folder with a CMakeLists.txt
  • media files get installed to media/ (Windows) or to /share/orxonox (Unix)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/bin/CMakeLists.txt

    r2628 r2644  
    3636
    3737SET(WRITABLE_CONFIG_FILES
    38   orxonox.ini
    3938)
     39
     40# Not getting installed
     41SET(ORXONOX_INI orxonox.ini)
    4042
    4143IF(TARDIS)
     
    8688  CONFIGURE_FILES("${_file_name}" "${BUILD_CONFIGS}" TRUE)
    8789ENDFOREACH(_file_name)
    88 FOREACH(_file_name ${WRITABLE_CONFIG_FILES})
     90FOREACH(_file_name ${WRITABLE_CONFIG_FILES} ${ORXONOX_INI})
    8991  CONFIGURE_FILES("${_file_name}" "${BUILD_CONFIGS}" FALSE)
    9092ENDFOREACH(_file_name)
     93
     94
     95################ Installation #################
     96
     97# Not using collective call to allow configuration with CMake.
     98FOREACH(_file ${READ_ONLY_CONFIG_FILES} ${WRITABLE_CONFIG_FILES})
     99  IF(CMAKE_CONFIGURATION_TYPES)
     100    FOREACH(_configuration ${CMAKE_CONFIGURATION_TYPES})
     101      INSTALL(FILES ${CMAKE_BINARY_DIR}/bin/${_configuration}/${_file}
     102              DESTINATION bin CONFIGURATIONS ${_configuration})
     103    ENDFOREACH(_configuration)
     104  ELSE()
     105    INSTALL(FILES ${CMAKE_BINARY_DIR}/bin/${_file} DESTINATION bin)
     106  ENDIF()
     107ENDFOREACH(_file)
     108
    91109
    92110################ Run Scripts ##################
Note: See TracChangeset for help on using the changeset viewer.