@echo offrem Downloads and build sources for libraries we depend upongoto Run:Usageecho.%~nx0 [flags and arguments]echo.echo.Download and build OpenSSL. This should only be performed in order toecho.update the binaries kept online - in most cases, the files downloadedecho.by the get_externals.bat script are sufficient for building CPython.echo.echo.Available flags:echo. -h Display this help messageecho.echo.Available arguments:echo. --certificate (-c) The signing certificate to use for binaries.echo. --organization The github organization to obtain sources from.echo.exit /b 127:Runsetlocalif "%PCBUILD%"=="" (set PCBUILD=%~dp0)if "%EXTERNALS_DIR%"=="" (set EXTERNALS_DIR=%PCBUILD%\..\externals)set ORG_SETTING=:CheckOptsif "%~1"=="-h" shift & goto Usageif "%~1"=="--certificate" (set SigningCertificate=%~2) && shift && shift & goto CheckOptsif "%~1"=="-c" (set SigningCertificate=%~2) && shift && shift & goto CheckOptsif "%~1"=="--organization" (set ORG_SETTING=--organization "%~2") && shift && shift && goto CheckOptsif "%~1"=="" goto Buildecho Unrecognized option: %1goto Usage:Buildcall "%PCBUILD%\find_msbuild.bat" %MSBUILD%if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)call "%PCBUILD%\find_python.bat" "%PYTHON%"if ERRORLEVEL 1 (echo Cannot locate python.exe on PATH or as PYTHON variable & exit /b 3)call "%PCBUILD%\get_externals.bat" --openssl-src --no-openssl %ORG_SETTING%if "%PERL%" == "" where perl > "%TEMP%\perl.loc" 2> nul && set /P PERL= <"%TEMP%\perl.loc" & del "%TEMP%\perl.loc"if "%PERL%" == "" (echo Cannot locate perl.exe on PATH or as PERL variable & exit /b 4)%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=Win32if errorlevel 1 exit /b%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=x64if errorlevel 1 exit /b%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=ARMif errorlevel 1 exit /b%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=ARM64if errorlevel 1 exit /b
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。