curl/projects/Windows
Jay Satiro dd81489db9 projects: Update VS projects for OpenSSL 1.1.x
- Update VS project templates to use the OpenSSL lib names and include
  directories for OpenSSL 1.1.x.

This change means the VS project files will now build only with OpenSSL
1.1.x when an OpenSSL configuration is chosen. Prior to this change the
project files built only with OpenSSL 1.0.x (end-of-life) when an
OpenSSL configuration was chosen.

The template changes in this commit were made by script:

libeay32.lib => libcrypto.lib
ssleay32.lib => libssl.lib
..\..\..\..\..\openssl\inc32 => ..\..\..\..\..\openssl\include

And since the output directory now contains the includes it's prepended:
..\..\..\..\..\openssl\build\Win{32,64}\VC{6..15}\{DLL,LIB}
{Debug,Release}\include

- Change build-openssl.bat to copy the build's include directory to the
  output directory (as seen above).

Each build has its own opensslconf.h which is different so we can't just
include the source include directory any longer.

Note the include directory in the output directory is a full copy from
the build so technically we don't need to include the OpenSSL source
include directory in the template. However, I left it last in case the
user made a custom OpenSSL build using the old method which would put
opensslconf in the OpenSSL source include directory.

- Change build-openssl.bat to use a temporary install directory that is
  different from the temporary build directory.

For OpenSSL 1.1.x the temporary paths must be separate not a descendant
of the other, otherwise pdb files will be lost between builds.

Ref: https://curl.se/mail/lib-2018-10/0049.html
Ref: https://gist.github.com/jay/125191c35bbeb894444eff827651f755
Ref; https://github.com/openssl/openssl/issues/10005

Fixes https://github.com/curl/curl/issues/984
Closes https://github.com/curl/curl/pull/6675
2021-03-03 18:32:24 -05:00
..
VC6 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC7 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC7.1 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC8 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC9 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC10 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC11 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC12 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC14 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
VC15 projects: Update VS projects for OpenSSL 1.1.x 2021-03-03 18:32:24 -05:00
.gitattributes build: check out *.sln files with Windows line endings 2017-08-10 09:11:46 +02:00
.gitignore projects/Windows/.gitignore: ignore generated files for release 2015-09-03 23:34:53 +02:00