@echo offsetlocalset D=%~dp0set PCBUILD=%D%..\..\PCbuild\if "%Py_OutDir%"=="" set Py_OutDir=%PCBUILD%set BUILDX86=set BUILDX64=set REBUILD=set OUTPUT=set PACKAGES=:CheckOptsif "%~1" EQU "-h" goto Helpif "%~1" EQU "-x86" (set BUILDX86=1) && shift && goto CheckOptsif "%~1" EQU "-x64" (set BUILDX64=1) && shift && goto CheckOptsif "%~1" EQU "-r" (set REBUILD=-r) && shift && goto CheckOptsif "%~1" EQU "-o" (set OUTPUT="/p:OutputPath=%~2") && shift && shift && goto CheckOptsif "%~1" EQU "--out" (set OUTPUT="/p:OutputPath=%~2") && shift && shift && goto CheckOptsif "%~1" EQU "-p" (set PACKAGES=%PACKAGES% %~2) && shift && shift && goto CheckOptsif not defined BUILDX86 if not defined BUILDX64 (set BUILDX86=1) && (set BUILDX64=1)call "%D%..\msi\get_externals.bat"call "%PCBUILD%find_msbuild.bat" %MSBUILD%if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)if defined PACKAGES set PACKAGES="/p:Packages=%PACKAGES%"if defined BUILDX86 (if defined REBUILD ( call "%PCBUILD%build.bat" -e -r) else if not exist "%Py_OutDir%win32\python.exe" call "%PCBUILD%build.bat" -eif errorlevel 1 goto :eof%MSBUILD% "%D%make_pkg.proj" /p:Configuration=Release /p:Platform=x86 %OUTPUT% %PACKAGES%if errorlevel 1 goto :eof)if defined BUILDX64 (if defined REBUILD ( call "%PCBUILD%build.bat" -p x64 -e -r) else if not exist "%Py_OutDir%amd64\python.exe" call "%PCBUILD%build.bat" -p x64 -eif errorlevel 1 goto :eof%MSBUILD% "%D%make_pkg.proj" /p:Configuration=Release /p:Platform=x64 %OUTPUT% %PACKAGES%if errorlevel 1 goto :eof)exit /B 0:Helpecho build.bat [-x86] [-x64] [--out DIR] [-r] [-h]echo.echo -x86 Build x86 installersecho -x64 Build x64 installersecho -r Rebuild rather than incremental buildecho --out [DIR] Override output directoryecho -h Show usage
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。