-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #540: bad_any_cast in Binding.cpp with GCC...
Last critical adjustments to have it compile with GCC (on Windows) + Someaht more flexible run scripts
- Loading branch information
Showing
5 changed files
with
65 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
::!! Even the %1 %2 %3 %4 %5 %6 %7 %8 %9 hack (instead of shift and %*) | ||
::!! fails with name=value args: the = gets replaced with space! :-ooo | ||
::!! So... This is not not very useful with args on the cmdline. :-/ | ||
|
||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
|
||
if _%1_ == __ ( | ||
echo Usage: %~n0 exename [args...] | ||
goto :eof | ||
) | ||
|
||
set use_exe=%1 | ||
|
||
call %~dp0tooling\_setenv.cmd | ||
|
||
set exe=...NONE... | ||
|
||
if exist "%SZ_RUN_DIR%/%use_exe%.exe" set exe=%use_exe%.exe | ||
if exist "%SZ_RUN_DIR%/%use_exe%.cmd" set exe=%use_exe%.cmd | ||
if exist "%SZ_RUN_DIR%/%use_exe%" set exe=%use_exe% | ||
|
||
if exist "%SZ_RUN_DIR%/!exe!" goto :run | ||
|
||
echo - ERROR: No %use_exe% or %use_exe%.exe or %use_exe%.cmd in %SZ_RUN_DIR%^^! | ||
goto :eof | ||
|
||
|
||
:run | ||
echo Launching: %exe% --cfg=test/default.cfg %2 %3 %4 %5 %6 %7 %8 %9 | ||
"%SZ_RUN_DIR%\%exe%" --cfg=test/default.cfg %2 %3 %4 %5 %6 %7 %8 %9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters