cURL build native Windows Schannel
cURL is a universal command line tool for network data transfer. Build cURL from source on Windows including native TLS support with Visual Studio and CMake. No external libraries are required for SSL using cURL native Windows Schannel. The build is done “static” to avoid the hassle of DLL path.
cmake -DCURL_USE_SCHANNEL=on -DBUILD_SHARED_LIBS=off -DCMAKE_C_COMPILER=cl -Bbuild cmake --build build --config Release
Test the standalone “curl.exe” like:
build/src/Release/curl.exe -L https://hsts.badssl.com/