windows-nt/Source/XPSP1/NT/tools/syncbuild.cmd

28 lines
508 B
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@echo off
if NOT defined SDXROOT echo Run from a razzle prompt.&goto :eof
cd /d %SDXROOT%
setlocal enabledelayedexpansion
set _ArgLoop=0
set _ArgsTimeBuild=
rem
rem look for our -loop parameter. the rest belong to timebuild.
rem
for %%i in ( %* ) do (
if /I %%i==/loop (
set _ArgLoop=1
) else if /I %%i==-loop (
set _ArgLoop=1
) else (
set _ArgsTimeBuild=!_ArgsTimeBuild! %%i
)
)
:loop
perl tools\timebuild.pl %_ArgsTimeBuild%
if "%_ArgLoop%" == "1" goto loop