build-libcurl-windows
build-libcurl-windows copied to clipboard
Add support for Visual Studio 2017
I added support for Visual Studio 2017.
Note that I also update the static versions of libcurl to be compiled with the /MT
switch for static runtime aswell.
One issue: In the path to Visual Studio's vcvarsall script, you hardcoded the Studio Edition (Community). This might also be Professional or Enterprise. I guess you need a test for several folders and choose the one which exists.
You can use vswhere to find the right Visual Studio 2017+ installation folder. Usually, you can add vswhere NuGet package using nuget.exe to automatically download the latest tool.