diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-08-14 20:59:48 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-08-14 20:59:48 +0100 |
commit | bedf0a588ee070043a896e0aa8e2b1160f8c884e (patch) | |
tree | 7dea30308f65da7cb3ef24e9375fa993e7935568 /projects | |
parent | 6ba9a1b95233baee67daba5ffbf0b3e74083d0ec (diff) |
generate.bat: Added support for generating only the prerequisite files
Diffstat (limited to 'projects')
-rw-r--r-- | projects/generate.bat | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/projects/generate.bat b/projects/generate.bat index bb58eb00b..b2e3fb5e5 100644 --- a/projects/generate.bat +++ b/projects/generate.bat @@ -49,7 +49,9 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#] :parseArgs if "%~1" == "" goto start - if /i "%~1" == "vc6" ( + if /i "%~1" == "pre" ( + set VERSION=PRE + ) else if /i "%~1" == "vc6" ( set VERSION=VC6 ) else if /i "%~1" == "vc7" ( set VERSION=VC7 @@ -91,6 +93,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#] call ..\buildconf -clean ) ) + if "%VERSION%" == "PRE" goto success if "%VERSION%" == "VC6" goto vc6 if "%VERSION%" == "VC7" goto vc7 if "%VERSION%" == "VC7.1" goto vc71 @@ -385,10 +388,11 @@ rem :syntax rem Display the help echo. - echo Usage: generate [compiler] [-clean] + echo Usage: generate [what] [-clean] echo. - echo Compiler: + echo What to generate: echo. + echo pre - Prerequisites only echo vc6 - Use Visual Studio 6 echo vc7 - Use Visual Studio .NET echo vc7.1 - Use Visual Studio .NET 2003 |