Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 13, 2009, 11:44:02 AM (16 years ago)
Author:
rgrieder
Message:

Windows hacks. Plus I forgot to change the directory in run.bat

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

Legend:

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

    r2591 r2595  
    5858  IF(WIN32)
    5959    SET(RUN_SCRIPT run.bat)
     60    STRING(REGEX REPLACE "^([A-Z]\\:)\\/.*$" "\\1" WINDOWS_DRIVE_CHANGE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
     61    STRING(REPLACE "/" "\\" CMAKE_RUNTIME_OUTPUT_DIRECTORY_WINDOWS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
    6062  ELSE(UNIX)
    6163    SET(RUN_SCRIPT run)
  • code/branches/buildsystem2/bin/run.bat

    r2590 r2595  
    11title @PROJECT_NAME@
    22path @ORXONOX_LIBRARY_BIN_DIR@;%path%
     3@WINDOWS_DRIVE_CHANGE@
     4cd @CMAKE_RUNTIME_OUTPUT_DIRECTORY_WINDOWS@
    35@ORXONOX_EXECUTABLE_NAME@
    46pause
Note: See TracChangeset for help on using the changeset viewer.