mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 06:18:09 +00:00
run-cmake.bat & build-all.cmd: fix cmake arguments parsing when arguments passed for the batch scripts
This commit is contained in:
+2
-2
@@ -36,8 +36,8 @@ del .\y.txt
|
||||
if not %ERRORLEVEL%==0 goto :EOF
|
||||
:: Same trick as in run-cmake.bat
|
||||
set ARGUMENTS=%*
|
||||
call set ARGUMENTS=%%ARGUMENTS:%1=%%
|
||||
call set ARGUMENTS=%%ARGUMENTS:%2=%%
|
||||
if not (%1)==() call set ARGUMENTS=%%ARGUMENTS:%1=%%
|
||||
if not (%2)==() call set ARGUMENTS=%%ARGUMENTS:%2=%%
|
||||
call .\run-cmake %1 %ARGUMENTS%
|
||||
if not %ERRORLEVEL%==0 goto :EOF
|
||||
call .\build-ifcopenshell %1 %2
|
||||
|
||||
Reference in New Issue
Block a user