1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

generate.bat: Only call buildconf.bat if it exists

This commit is contained in:
Steve Holme 2015-08-14 20:44:55 +01:00
parent bc66c21c23
commit 6ba9a1b952

View File

@ -82,12 +82,14 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
shift & goto parseArgs
:start
if "%MODE%" == "GENERATE" (
call ..\buildconf
) else if "%VERSION%" == "PRE" (
call ..\buildconf -clean
) else if "%VERSION%" == "ALL" (
call ..\buildconf -clean
if exist ..\buildconf.bat (
if "%MODE%" == "GENERATE" (
call ..\buildconf
) else if "%VERSION%" == "PRE" (
call ..\buildconf -clean
) else if "%VERSION%" == "ALL" (
call ..\buildconf -clean
)
)
if "%VERSION%" == "VC6" goto vc6
if "%VERSION%" == "VC7" goto vc7