Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2659 for code/branches


Ignore:
Timestamp:
Feb 14, 2009, 5:54:36 PM (16 years ago)
Author:
rgrieder
Message:

Several small fixes. Installs and runs on tardis now (not to /usr of course).

Location:
code/branches/buildsystem2
Files:
3 edited

Legend:

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

    r2657 r2659  
    106106    ENDFOREACH(_configuration)
    107107  ELSE()
    108     INSTALL(FILES ${CMAKE_BINARY_DIR}/bin/${_file} DESTINATION bin)
     108    INSTALL(FILES ${CMAKE_BINARY_DIR}/bin/${_file} DESTINATION ${ORXONOX_RUNTIME_INSTALL_PATH})
    109109  ENDIF()
    110110ENDFOREACH(_file)
  • code/branches/buildsystem2/doc/api/CMakeLists.txt

    r2657 r2659  
    8181    OPTIONAL
    8282  )
    83   INSTALL(
    84     DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
    85     DESTINATION ${ORXONOX_DOC_INSTALL_PATH}/api
    86   )
     83  IF(EXISTS ${CMAAKE_CURRENT_BINARY_DIR}/html)
     84    INSTALL(
     85      DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
     86      DESTINATION ${ORXONOX_DOC_INSTALL_PATH}/api
     87    )
     88  ENDIF()
    8789ENDIF(DOXYGEN_FOUND)
  • code/branches/buildsystem2/src/OrxonoxConfig.h.in

    r2650 r2659  
    191191    const char* const ORXONOX_MEDIA_PATH("../media");
    192192#elif defined(ORXONOX_PLATFORM_LINUX)
    193     const char* const ORXONOX_MEDIA_PATH("../share/orxonox");
     193    const char* const ORXONOX_MEDIA_PATH("../../share/orxonox");
    194194#else
    195195    /* TODO: Apple? */
    196     const char* const ORXONOX_MEDIA_PATH("../share/orxonox");
     196    const char* const ORXONOX_MEDIA_PATH("../../share/orxonox");
    197197#endif
    198198   
Note: See TracChangeset for help on using the changeset viewer.