8820 Commits

Author SHA1 Message Date
robbie-li
2129bcd180 [dcmtk] support wchar_t* filename (#7059)
* support wchar_t* filename

* bump control
2019-07-05 18:01:46 -07:00
Andrei Lebedev
f9fedc930c [tbb] Add shared library support for Linux and OSX (#6510)
* [tbb] Add shared library support for Linux and OSX

Signed-off-by: Andrei Lebedev <lebdron@gmail.com>

* Remove whitespace

* Simplify string replace

* Revert removal of lib exts
2019-07-02 19:46:14 -07:00
Victor Romero
269fa0e6be
Bump version to 2019.06.26 (#7136) 2019-07-02 17:19:46 -07:00
JackBoosY
7a3a3e9392 [flann]Change the version tag to the corresponding time of commit id. (#7125) 2019-07-02 15:31:25 -07:00
myd7349
fb4cc37262 [czmq] Add new port (#4979)
* [czmq] Add new port

* [czmq] Modernize

* [czmq] Update to 2019-05-17

* [czmq] Update to 2019-05-29

* [czmq] Fix OpenSSL not found issue on x64-windows

* [czmq] Update portfile.cmake

* [czmq] Update to 2019-06-10

* [czmq] Clean

* [czmq] Add Homepage

* [czmq] Use vcpkg_check_features

* [czmq] Disable parallel configuration

* Fix typo when using feature options
2019-07-02 15:23:53 -07:00
Phil Christensen
24b1618b29
revert ninja update (#7135)
Causing failures on Linux, revert until investigation is complete.
2019-07-02 15:12:47 -07:00
Griffin Downs
2291b2f429
Merge pull request #6478 from ThijsWithaar/soxr
[soxr] Add new port
2019-07-02 14:45:33 -07:00
Griffin Downs
59995facab
Merge pull request #5921 from myd7349/rdkafka-init
[librdkafka] Add new port
2019-07-02 14:21:57 -07:00
Griffin Downs
1628ebbaa4
Merge pull request #6512 from lebdron/openssl-unix-dynamic
[openssl-unix] Shared library support
2019-07-02 13:58:45 -07:00
Kevin Lu
8ca8de6926 [lua] Add [cpp] feature to additionally build lua-c++ (#7101)
* [lua] Add [cpp] feature to build lua-c++

* [lua] Switch tab for spaces in CMakeLists, set version to 5.3.5-2 as requested

* Use spaces for indentation
2019-07-02 13:49:17 -07:00
cskrisz
4642a4fc6c Fix Python3 tool on Windows (#7051)
* Delete python37._pth from python3-embed

* Add version number to SUBDIR

* [open62541] Use Python in version subdir
2019-07-02 13:47:50 -07:00
myd7349
11708d2139 [librdkafka] Update to 1.1.0
[librdkafka] Use vcpkg_check_features

[librdkafka] Remove default feature
2019-07-02 18:30:56 +08:00
myd7349
086c727773 Merge branch 'master' into rdkafka-init 2019-07-02 18:13:44 +08:00
Rajeev Massand
f15d52becf [azure] Update azure-iot-sdk-c for public-preview release of 2019-07-01 (#7123) 2019-07-02 01:09:48 -07:00
martin-s
91da4aab4c Allow redirection of the scripts folder. (#6552)
* Allow redirection of the scripts folder with an environment variable.

* - Updated feature from environment variable to argument.

* Fix crash when no scripts override is given and use --scripts-root=<PATH> format

* Update help messages to use --scripts-root=<PATH> format
2019-07-01 22:51:07 -07:00
Victor Romero
96994f8ede
Revert Visual Studio projects versions (#7117) 2019-07-01 22:49:05 -07:00
Phil Christensen
d2b3ef9e88
Fix vcpkg_from_git (#7082)
* [vcpkg_from_git/fdlibm] Fix flaky sha256 issues
* [doc] regenerate docs
2019-07-01 22:39:51 -07:00
Griffin Downs
012e9931eb
Merge pull request #6327 from myd7349/sx-init
[septag-sx] Add new port
2019-07-01 14:42:46 -07:00
Griffin Downs
dac4ec2ff3
Merge pull request #7050 from lsparey/master
[mongo-cxx-driver] Do not delete the third_party include folder when building with mnmlstc
2019-07-01 13:54:33 -07:00
YenForYang
12587b1b88 Update python2, python3, perl, aria2, ninja, ruby, 7z (#6791) 2019-07-01 13:31:17 -07:00
Leonid Pospelov
b26cb1a041 [vcpkg] Use spaces instead of semicolons in the output (#7080)
* Use spaces instead of semicolons in the output

* Add prettify_command macro

* Move pretty_command macro to a separate file
2019-07-01 13:30:24 -07:00
Griffin Downs
0b9cf040ba
Merge branch 'master' into openssl-unix-dynamic 2019-07-01 13:14:53 -07:00
grdowns
65d807be57 Rename patch file 2019-07-01 12:42:53 -07:00
grdowns
dbeae6f05c Clean up comments and whitespace 2019-07-01 12:41:26 -07:00
Griffin Downs
77cfd20b83
Merge pull request #6854 from the-j0k3r/openssl-version-bump
Openssl version bump 1.0.2s
2019-07-01 11:33:54 -07:00
Victor Romero
e2049cb975
[vcpkg_configure_cmake] Add NO_CHARSET_FLAG option (#7074)
* [vcpkg_configure_cmake] Add NO_CHARSET_FLAG option

* [vcpkg_configure_cmake] Add documentation for new NO_CHARSET_FLAG option

* [vcpkg_configure_cmake, windows toolchain] Handle NO_CHARSET_FLAG in toolchain

* [build.cpp] Add Windows toolchain to package hash

* [duilib,msix,thrift,tidy-html5] Use NO_CHARSET_FLAG to fix regressions
2019.06
2019-06-30 09:31:22 -07:00
wangli28
700a3e180c [freetype] Upgrade to version 2.10.0 (#7057)
* [freetype] Upgrade to version 2.10.0

* [freetype] Fix old patches
2019-06-30 02:49:11 -07:00
StephaneBPRO
88fa3bdfd5 Adding EglContext / CglContext / GlxContext (#7060)
Adding the Egl/Cgl/Clx Context plugin to manage crossplatform OpenGL context (MacOs / Linux)
2019-06-30 02:47:37 -07:00
Phil Christensen
8e747d659c
[vcpkg] fail archived port install when decompression fails (#7086)
* [vcpkg] fail port install when decompression fails

* [vcpkg] clang-format
2019-06-30 00:15:08 -07:00
Phil Christensen
bd72762f69
[libpmemobj-cpp] fix flaky config (#7097) 2019-06-30 00:02:42 -07:00
Robert Schumacher
b9b2a38c7b
[vcpkg-integrate] Improve spelling, help, and autocomplete. (#7095) 2019-06-29 23:05:09 -07:00
Phil Christensen
8d7245a91e
[zziplib] fix flaky build (#7090) 2019-06-29 22:21:00 -07:00
Thad House
b627d2cf79 Update wpilib port to fix build with full package (#7087)
Previously, a warning was being generated in a higher level project, and we build with /WX by default
2019-06-29 20:04:52 -07:00
myd7349
a7bbee3152 [vcpkg] Update vcpkg_check_features document (#7091)
* [oniguruma] Fix misusage of vcpkg_check_features

* [xsimd] Use vcpkg_check_features
2019-06-29 08:29:13 -07:00
grdowns
e27fe91198 Merge branch 'master' of https://github.com/Microsoft/vcpkg into openssl-version-bump 2019-06-28 17:32:12 -07:00
Phil Christensen
62ed7c1731
[asio] fix flaky build (#7083) 2019-06-28 13:50:32 -07:00
Stefano Sinigardi
79175994c2 [darknet] enable ninja (#7064)
* [darknet] enable ninja

* Bump CONTROL version
2019-06-28 13:48:42 -07:00
myd7349
b4675fd65a [vcpkg] Add vcpkg_check_features (#6958)
* [vcpkg] Add vcpkg_check_feature, vcpkg_check_features

* [vcpkg] Remove vcpkg_check_feature

* [oniguruma,xtensor] Use vcpkg_check_features
2019-06-28 10:17:39 -07:00
Sönke Schau
5b6b66512b [libu2f-server] New Port (#6781)
* update to 2.8.84

* [libu2f-server] Initial Port of Version 1.1.0

* Missing exported functions

* Add support for static linkage

* Added missing 'arm64' Target, and corrected case for 'arm' for vcpkg_install_msbuild

* Add support for arm64

* Support for arm target

* [libu2f-server] add cmakelists and patch

* string copy fix

* revert msbuild changes

* add compile definitions

* add patch file

* remove line

* change version
2019-06-27 16:41:01 -07:00
Victor Romero
53a02456a0
Update ports-overlay.md 2019-06-27 16:32:38 -07:00
Phil Christensen
4bb67553f0
[flann] fix flaky config (#7073) 2019-06-27 15:55:07 -07:00
Christophe Delacourt
66f1d9a747 [shaderc] update (#6689)
* update shaderc

* update shaderc

* fix glslang cmake targets, re enable vcpkg_fixup_cmake_targets()

* [spirv-tools] comment python distutils

* remove comments, change path

* glslang fix cmake targets

* change version
2019-06-27 15:38:53 -07:00
Victor Romero
35e985d3cc
Triplets Overlay Implementation (#7053)
* Triplets Overlay Implementation

* Use cache for get_triplet_file_path()

* Code cleanup
2019-06-27 12:20:12 -07:00
NancyLi1013
82cd021b42 [libxslt] Update the version to 1.1.33 and change the URL. (#7058) 2019-06-27 11:08:20 -07:00
Thijs Withaar
0550221978 [soxr]: define arm on windows 2019-06-27 18:41:28 +02:00
Thijs Withaar
f884a9e2ea [soxr] patch potentially uninitialized variable, remove build warning 2019-06-27 18:41:28 +02:00
Thijs Withaar
93b9320fe4 [soxr] skip examples 2019-06-27 18:41:28 +02:00
Thijs Withaar
f4993def21 [soxr] Fix macos build: remove share 2019-06-27 18:41:28 +02:00
Thijs Withaar
60b96c3d0c [soxr] Set Cmake options through portfile.cmake rather than a patch. 2019-06-27 18:41:28 +02:00
Thijs Withaar
f362309178 [soxr] initial commit 2019-06-27 18:41:28 +02:00
Sean Yen
a6fe726ebb Fix header path propagation. (#7015) 2019-06-26 22:20:04 -07:00
Phil Christensen
40537b848b
[libftdi] resolve ninja error (-w dupbuild=err) (#7055) 2019-06-26 16:35:03 -07:00
Phil Christensen
539695e544
[restclient-cpp] disable tests (#7054) 2019-06-26 16:03:27 -07:00
Phil Christensen
22ebb8ca68
[libmikmod] resolve ninja error (-w dupbuild=err) (#7052) 2019-06-26 16:03:13 -07:00
Alexander Neumann
fd87a081bb Introduce an easier way to identify target systems... (#6846)
* Introduce an easier way to identify target systems...

* fix missing ()

* move the include around.
also added vcpkg_common_functions to be automatically included

* remove warning message

* added remaining VCPKG_CMAKE_SYSTEM_NAMEs found only in vcpkg_configure_cmake to load a toolchain.

* remove warning again from messed up merge
2019-06-26 15:00:48 -07:00
Jackie Ng
8c22bd9aad [freexl]: Linux build support (#6813)
* [freexl]: Add linux build support

* [freexl]: Remove various commented-out references to gdal (from which this initial Linux support was based from)

* [freexl]: Port changes based on PR feedback

* [freexl]: The CI error logs suggest the port has issues building for both debug/release in the same source directory on Linux. Split this off into separate debug/release source directories.
2019-06-26 14:51:58 -07:00
Robert Schumacher
db0c6043dc
[curl] Revert revert of -imp suffix removal. (#6698)
* [curl] Revert revert of `-imp` suffix removal.

* [idevicerestore][libideviceactivation] Simplify dependency on curl

* [curl] Trivial change to provoke rebuild
2019-06-26 11:49:39 -07:00
Robert Schumacher
7a3818f575
[angle] Update to latest master (#6892)
* [angle] Update to latest master

* [angle] Add gpu_info_util
2019-06-26 11:47:39 -07:00
Leonid Pospelov
94494ddf6c [cpp-httplib] Add new port (#7037) 2019-06-26 10:41:48 -07:00
NancyLi1013
af1c9e10fc [libmupdf] Update the port to version 1.15.0 (#7046) 2019-06-26 10:37:04 -07:00
Phoebe
64d8f95031 [Boost-variant] Upgrade to 1.70.0 (#7047)
* [Boost-variant] Upgrade to 1.70.0

* Update patch
2019-06-26 10:36:16 -07:00
Daniel Marshall
faf17a0f4a Fix homepage for range-v3(-vs2015) (#7049) 2019-06-26 10:34:19 -07:00
JackBoosY
eff0769b75 [openvdb]Upgrade version to 6.1.0, regenerate patches and fix build errors. (#6864) 2019-06-26 10:33:36 -07:00
lsparey
9706c31c75 Do not delete the third_party include folder when building with mnmlstc 2019-06-26 17:44:59 +01:00
John McNamara
9c3e312d81 [libxlsxwriter] upgrade to 0.8.7 (#7034)
Upgrade to the latest version of libxlsxwriter.

Closes #6982
2019-06-25 22:11:41 -07:00
Simon Brand
7b540fe208 [tl] Update tl::expected and tl::optional, add tl::function_ref (#7028)
* [tl] Update tl::expected and tl::optional, add tl::function_ref

* [tl-expected][tl-function-ref][tl-optional] Always prepopulate FetchContent
2019-06-25 22:09:16 -07:00
John Zhu
32ee6c96ce #5248 make vcpkg buildable as 'system' user (#7038)
If we keep TMP, when run as 'system' user it is using Windows\Temp folder.
2019-06-25 21:45:02 -07:00
Maxime Gervais
abb7f546de [libzen] Add new port (#7004) 2019-06-25 21:44:17 -07:00
wangli28
7401e2ff64 [libevent] Upgrade to version 2.1.10 (#6969) 2019-06-25 16:11:45 -07:00
Phil Christensen
1ce24dd0db
[docs]Update cmake docs (#7039) 2019-06-25 16:08:18 -07:00
Phil Christensen
ab81312c63
[libfabric] reorder patch (#7036) 2019-06-25 14:52:31 -07:00
Phil Christensen
1004b2ea11
[libmikmod] patch cmake warning (#7035)
* [libmikmod] Address cmake warnings
2019-06-25 14:19:57 -07:00
JackBoosY
b9764f8d89 [qt5-base]Add execute permission when installing executables in Linux. (#7019) 2019-06-25 11:02:43 -07:00
NancyLi1013
728c767817 [libpmemobj-cpp] Add new port (#7020) 2019-06-25 11:01:19 -07:00
wangli28
90ad82908e [nana, fmi4cpp] Fix Visual Studio 2019 deprecates <experimental/filesystem>. (#7021) 2019-06-25 11:00:48 -07:00
tarcila
14d1575e0b [capnproto] Enable Linux and OSX support (#7024)
Now that #5630 is fix, this package is fully supported on both Linux
and Mac OS X.
2019-06-25 10:59:51 -07:00
wangli28
6a6d350d49 [armadillo] Fix build error in Linux (#7022)
[armadillo] Fix installation path
2019-06-25 10:56:21 -07:00
Phil Christensen
40a78054f5
[cnl] Update cnl to latest(#7031) 2019-06-25 10:55:24 -07:00
tarcila
54b3be6b60 [scripts] Fix vcpkg_fixup_cmake on non Windows platforms (#5630)
* [scripts] Fix vcpkg_fixup_cmake on non Windows platforms

Script was only handling tools executables ending with .exe.
Changed it so anything under /bin/ in transformed.

This fixes for instance FlatcTargets-release.cmake from flatbuffers
port on osx.
2019-06-24 23:21:30 -07:00
Benjamin Sergeant
ecc4b1631f [ixwebsocket] add new port (#6835)
* Add ixwebsocket

* remove commented cmake directives

* add dependencies

* directive to remove share folder

* try again with 4.0.3 which is using find_library for external code instead of vendoring it by default

* use vcpkg feature flag to detect ssl backend + compile ws

* do not build ws command line tool

* add a feature for osx / control file closer to curl one

* stop using features, as this makes CI unhappy

* Revert "stop using features, as this makes CI unhappy"

This reverts commit 4666b185671a9e37de5252334965fd63c060aea0.

* play again with Build-Depends to fix error which appears to be only on uwp

* call vcpkg_from_github instead

* share folder not created
2019-06-24 15:38:04 -07:00
Stefano Sinigardi
aefbaa1ba9 [darknet] update to latest release (#6787)
* [darknet] update to latest release

* [darknet] Reduce patch size

* update to latest release, does not require any patch :)
2019-06-24 15:22:57 -07:00
Griffin Downs
62861ea301
Merge pull request #6977 from NNemec/mesonbuild-cmake_prefix_path
set cmake_prefix_path correctly within vcpkg_configure_meson
2019-06-24 15:00:22 -07:00
myd7349
bc08706eec [doctest] Update to 2.3.3 (#6998) 2019-06-24 13:36:40 -07:00
myd7349
92a86a1e54 [sprout] Add new port (#6997) 2019-06-24 13:23:55 -07:00
Victor Romero
9e565e9867
[--overlay-ports] Show location of overriden ports during install plan (#7002)
* [--overlay-ports] Show source location of overlayed ports during install plan

* Code cleanup

* Code cleanup
2019-06-24 12:09:48 -07:00
JackBoosY
4f675eafb6 [libtins]Upgrade version to 4.2 and adds dependent ports to new version. (#7008) 2019-06-24 11:38:10 -07:00
JackBoosY
25f628e05f [flann]Upgrade version to 1.9.1 and fix build error. (#6931)
* [flann]Upgrade version to 1.9.1 and fix build error.

* [flann]apply new patches.

* [flann]Regenerate patches.

* [flann]Combine all patches.
2019-06-24 10:46:37 -07:00
Phil Christensen
17b8cd9d05
[ppconsul] remove conflict with json11 (#6967)
* [ppconsol] remove conflict with json11
2019-06-22 23:30:45 -07:00
myd7349
644851da5f Merge branch 'master' into sx-init 2019-06-23 08:16:07 +08:00
Victor Romero
f3db66b403
Ports Overlay partial implementation (#6981)
* Ports Overlay feature spec

* Ports Overlay implementation

* [--overlay-ports] Refactor handling of additional paths

* Code cleanup

* [--overlay-ports] Add help

* [depend-info] Support --overlay-ports

* Add method to load all ports using PathsPortFileProvider

* Make PortFileProvider::load_all_control_files() const

* Remove unused code

* [vcpkg] Avoid double-load of source control file between Build::perform_and_exit and Build::perform_and_exit_ex

* [vcpkg] Clang format

* [vcpkg] Fixup build failure introduced in b069ceb2f231

* Report errors from Paragraphs::try_load_port()
2019-06-21 23:50:05 -07:00
Sean Yen
d1b4e88d3c [libftdi-compat] Add new port (#6843)
* [libftdi-compat] v0.20 port

* Fixed wrong version number in CONTROL file.

* Download source archive file instead.

* restrict to shared library build only.

* Remove dlls from static build.

* [libftdi-compat] Update to 1.4. Replace CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS with a def file. Minimize patching.

* [libftdi] Rename from libftdi-compat

* [libftdi][libftdi1] Restore v0.20 as libftdi, move 1.4 to libftdi1
2019-06-21 22:45:40 -07:00
Robert Schumacher
9cfcc71146
[docs] Add maintainer guidelines (#6871)
* [maintainer-guide] Initial commit of maintainer guidelines

* [maintainer-guide] Rearrange sections

* [maintainer-guide] Add note about GitHub Draft PRs

* [maintainer-guide] Improvements

* [maintainer-guide] Address comments about versioning conventions

* [maintainer-guide] Add section about how portfiles interact with CMakeLists.txt

* [maintainer-guidelines] Add link from docs index
2019-06-21 21:33:29 -07:00
Farwaykorse
31184ac70d Bump version to 2019.06.21 (#6987) 2019-06-21 21:26:10 -07:00
NancyLi1013
edf3d75eb7 [netcdf-c] Fix link error. (#6971)
* [netcdf-c] Fix linkage error.

* remove unused code
2019-06-20 22:08:51 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -07:00
NancyLi1013
e16efa4d6a [thor] Fix error on Linux. (#6953) 2019-06-20 14:52:54 -07:00
JackBoosY
5f72d97b6e [bond]Upgrade version to 8.1.0 and add Linux/OSX support. (#6954) 2019-06-20 14:52:28 -07:00
JackBoosY
321540a82a [xerces-c]Replace the macro DLL_EXPORT with the macro XERCES_DLL_EXPORT (#6970)
* [xerces-c]Disable defining DLL_EXPORT to avoid affecting other ports

* [xerces-c]Replace the macro DLL_EXPORT with the macro XERCES_DLL_EXPORT
2019-06-20 14:44:03 -07:00
Phoebe
83520dbc36 [Folly] define _CRT_INTERNAL_NONSTDC_NAMES to 0 to disable non-underscore posix names on windows (#6974) 2019-06-20 14:13:53 -07:00
Stephan T. Lavavej
f0902b3537 VS 2019 16.3 deprecates <experimental/filesystem>. (#6968)
VS 2019 16.3 will contain a couple of source-breaking changes:

* <experimental/filesystem> will be deprecated via an
impossible-to-miss preprocessor "#error The <experimental/filesystem>
header providing std::experimental::filesystem is deprecated by
Microsoft and will be REMOVED. It is superseded by the C++17
<filesystem> header providing std::filesystem. You can define
_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge
that you have received this warning."

* <filesystem> will no longer include <experimental/filesystem>.

In the long term, I believe that vcpkg should detect when it's being
built with VS 2017 15.7 or newer, compile in C++17 mode, include
<filesystem>, and use std::filesystem. (Activating this for VS 2019 16.0
or newer would also be reasonable.) Similarly for other toolsets
supporting std::filesystem.

In the short term, this commit makes vcpkg compatible with the upcoming
deprecation. First, we need to define the silencing macro before
including the appropriate header. I've chosen to define it
unconditionally (without checking for platform or version), since it
has no effect for other platforms or versions. Second, we need to deal
with <filesystem> no longer including <experimental/filesystem>.
I verified that VS 2015 Update 3 contained <experimental/filesystem>
(back then, it simply included the <filesystem> header, where the
experimental implementation was defined; this was later reorganized).
Therefore, all of vcpkg's supported MSVC toolsets have
<experimental/filesystem>, so we can simply always include it.

I've verified that this builds with both VS 2015 Update 3 and
VS 2019 16.1.3 (the current production version).
2019-06-20 11:46:55 -07:00