打开VS命令行工具:x64 Native Tools Command Prompt for VS 2022
定位到curl/winbuild目录
编译命令:
nmake /f Makefile.vc mode=static VC=142 MACHINE=x64 DEBUG=yes RTLIBCFG=static VC=142/143...等等... mode:dll/static MACHINE:x64/x86 RTLIBCFG:运行时库,static为MT或MTd 否则为MD或MDd
1