Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 5:21:13 PM (16 years ago)
Author:
rgrieder
Message:

Fixed two bugs with the run script. Works now on tardis, not tested on MinGW.

Location:
code/branches/buildsystem2/bin
Files:
2 edited

Legend:

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

    r2590 r2591  
    1212  # OGRE can't find fonts to display config screen on Tardis,
    1313  # so providing default config file here (bug).
    14   SET(ADDITIONAL_CONFIG_FILES "ogre.cfg")
     14  SET(ADDITIONAL_CONFIG_FILES ogre.cfg)
    1515ENDIF(TARDIS)
    1616
     
    5757IF(NOT CMAKE_CONFIGURATION_TYPES)
    5858  IF(WIN32)
    59     SET(RUN_SCRIPT ${ADDITIONAL_CONFIG_FILES} "run.bat")
     59    SET(RUN_SCRIPT run.bat)
    6060  ELSE(UNIX)
    61     SET(RUN_SCRIPT ${ADDITIONAL_CONFIG_FILES} "run")
     61    SET(RUN_SCRIPT run)
    6262  ENDIF(WIN32)
    6363  IF (NOT EXISTS ${CMAKE_SOURCE_DIR}/${RUN_SCRIPT})
  • code/branches/buildsystem2/bin/run

    r2590 r2591  
    22# convenience script for starting orxonox on Linux
    33
    4 cd @EXECUTABLE_OUTPUT_PATH@ && exec ./@ORXONOX_EXECUTABLE_NAME@ $@
     4cd @CMAKE_RUNTIME_OUTPUT_DIRECTORY@ && exec ./@ORXONOX_EXECUTABLE_NAME@ $@
Note: See TracChangeset for help on using the changeset viewer.