Add support for LZ4 build in MSVC scripts
authorMichael Paquier <michael@paquier.xyz>
Tue, 11 May 2021 01:43:05 +0000 (10:43 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 11 May 2021 01:43:05 +0000 (10:43 +0900)
commit9ca40dcd4d0cad43d95a9a253fafaa9a9ba7de24
treee932ede76cffbade7cbb43c2528377878f15ec24
parent049e1e2edb06854d7cd9460c22516efaa165fbf8
Add support for LZ4 build in MSVC scripts

Since its introduction in bbe0a81, compression of table data supports
LZ4, but nothing had been done within the MSVC scripts to allow users to
build the code with this library.

This commit closes the gap by extending the MSVC scripts to be able to
build optionally with LZ4.  Getting libraries that can be used for
compilation and execution is possible as LZ4 can be compiled down to
MSVC 2010 using its source tarball.  MinGW may require extra efforts to
be able to work, and I have been able to test this only with MSVC, still
this is better than nothing to give users a way to test the feature on
Windows.

Author: Dilip Kumar
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/YJPdNeF68XpwDDki@paquier.xyz
doc/src/sgml/install-windows.sgml
src/tools/msvc/Solution.pm
src/tools/msvc/config_default.pl