1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

generate.bat: Added support for generating only the prerequisite files

This commit is contained in:
Steve Holme 2015-08-14 20:59:48 +01:00
parent 6ba9a1b952
commit bedf0a588e

View File

@ -49,7 +49,9 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
:parseArgs :parseArgs
if "%~1" == "" goto start if "%~1" == "" goto start
if /i "%~1" == "vc6" ( if /i "%~1" == "pre" (
set VERSION=PRE
) else if /i "%~1" == "vc6" (
set VERSION=VC6 set VERSION=VC6
) else if /i "%~1" == "vc7" ( ) else if /i "%~1" == "vc7" (
set VERSION=VC7 set VERSION=VC7
@ -91,6 +93,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
call ..\buildconf -clean call ..\buildconf -clean
) )
) )
if "%VERSION%" == "PRE" goto success
if "%VERSION%" == "VC6" goto vc6 if "%VERSION%" == "VC6" goto vc6
if "%VERSION%" == "VC7" goto vc7 if "%VERSION%" == "VC7" goto vc7
if "%VERSION%" == "VC7.1" goto vc71 if "%VERSION%" == "VC7.1" goto vc71
@ -385,10 +388,11 @@ rem
:syntax :syntax
rem Display the help rem Display the help
echo. echo.
echo Usage: generate [compiler] [-clean] echo Usage: generate [what] [-clean]
echo. echo.
echo Compiler: echo What to generate:
echo. echo.
echo pre - Prerequisites only
echo vc6 - Use Visual Studio 6 echo vc6 - Use Visual Studio 6
echo vc7 - Use Visual Studio .NET echo vc7 - Use Visual Studio .NET
echo vc7.1 - Use Visual Studio .NET 2003 echo vc7.1 - Use Visual Studio .NET 2003