cd %~dp0\r
set WORKSPACE=%CD%\r
\r
+@if /I "%1"=="-h" goto Usage\r
+@if /I "%1"=="-help" goto Usage\r
+@if /I "%1"=="--help" goto Usage\r
+@if /I "%1"=="/h" goto Usage\r
+@if /I "%1"=="/?" goto Usage\r
+@if /I "%1"=="/help" goto Usage\r
@if /I not "%1"=="--nt32" goto check_new_build\r
shift\r
goto check_vc\r
\r
:path_ok\r
\r
-@if /I "%1"=="-h" goto Usage\r
-@if /I "%1"=="-help" goto Usage\r
-@if /I "%1"=="--help" goto Usage\r
-@if /I "%1"=="/h" goto Usage\r
-@if /I "%1"=="/?" goto Usage\r
-@if /I "%1"=="/help" goto Usage\r
@if /I "%1"=="ForceRebuild" goto ForceBuild\r
@if /I "%1"=="Reconfig" goto Reconfig\r
\r
\r
:Usage\r
echo.\r
-echo Usage: %0 [Rebuild] [ForceRebuild] [Reconfig]\r
+echo Usage: %0 [--nt32] [NewBuild] [Rebuild] [ForceRebuild] [Reconfig]\r
+echo --nt32 Call vsvars32.bat for NT32 platform build\r
+echo NewBuild Using new build tools in BaseTools package\r
echo Rebuild: Incremental build, only build those updated tools; \r
echo ForceRebuild: Rebuild all tools neither updated or not; \r
echo Reconfig: Reinstall target.txt, tools_def.txt, FrameworkDatabase.db. \r
echo only copied to target.txt, tools_def.txt, FrameworkDatabase.db respectively if they\r
echo are not existed. Using option [Reconfig] to do the force copy. \r
echo.\r
+@goto end\r
\r
:NewBuild\r
@IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild\r