microsoft / openssl

A cross-platform cryptographic library
133 stars 57 forks source link

Fix and simplify setVSvars.bat for current Visual Studio 2015 versions #37

Closed pdehne closed 7 years ago

pdehne commented 7 years ago

This pull request fixes compile errors with recent VS versions and simplifies the setVSvars.bat to the minimum needed to make compiles with recent VS versions work out of the box.

For recent VS versions things have changed slightly:

After some experimentation I found out that the INCLUDE and LIB environment variables are already set correctly through the call to vcvarsall.bat. Only the LIBPATH needed tweaking.

iwasinnam commented 7 years ago

This worked for me! I'm using Visual Studio Enterprise 2015 Update 3 and the OS version is 10.0.14393.0 Thanks!

khouzam commented 7 years ago

Thank @pdehne