推荐应用开发

静态编译OpenSSL

本文阅读 1 分钟
首页 应用开发 正文

脚本

REM Set up \Microsoft Visual Studio 2017
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
SET PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
SET PATH=%PATH%;C:\Users\fengmu\AppData\Local\bin\NASM
cd c:
cd C:\Users\fengmu\Desktop\openssl-1.1.1f
perl Configure no-shared VC-WIN64A --prefix=C:\OpenSSL\x64\release
nmake
nmake test
nmake install
nmake clean
perl Configure no-asm no-shared debug-VC-WIN64A --prefix=C:\OpenSSL\x64\debug
nmake
nmake test
nmake install
nmake clean

REM Set up \Microsoft Visual Studio 2017
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
SET PATH=%PATH%;C:\Users\fengmu\AppData\Local\bin\NASM
perl Configure no-asm no-shared VC-WIN32 --prefix=C:\OpenSSL\x86\release
nmake
nmake test
nmake install
nmake clean
perl Configure no-asm no-shared debug-VC-WIN32 --prefix=C:\OpenSSL\x86\debug
nmake
nmake test
nmake install
nmake clean

pause

参考

https://blog.csdn.net/qiuxue110/article/details/115560240
https://cloud.tencent.com/developer/article/2348353
https://blog.csdn.net/hhy321/article/details/125922276

本文来自投稿,不代表本站立场,如若转载,请注明出处:
静态编译icu库
« 上一篇 04-12
QWebEngine中显示下载进度
下一篇 » 04-15