vcpkg/scripts/cmake
Phil Christensen e62d136128
[vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601)
* remove unfinished "supports" tag

* extract "supports" from control files
But do nothing with the value

* Start `Supports` documentation

* Use Supports in a bunch of control files

I only tried matching the already existing logic in the portfile.cmake.

* Cmake var provider (#8)

* Cmake var provider (#9)

* fix windows build (#10)

* Add missing files to build

* Fix test (#11)

* adding hooks for cmake variables in expressions

* Adding hooks for 'supports' in CI test

* Fix test (#12)

* Add overrides to evaluation environment

* use "supported" tag in CI testing

* cleanup comment

* Fix issues with PR

* [var_provider] Get library linkage variables from triplet

* Fix compilation errors in tests

* Add unimplemented functions

* Fix unit tests part 1

* Fix issue when buildtrees dir does not exist

* Change binary output hash

* Fix handling of * feature

* Add core feature when using *

* Do not add Default-Features when installing 'core'

* [vcpkg] WIP. 6 failing tests.

* [vcpkg] WIP. 1 failing tests.

* [vcpkg] WIP. 0 failing tests.

* [vcpkg] Removed 'remove_graph'. 0 failing tests.

* [vcpkg] Removed 'install_graph'. 0 failing tests.

* [vcpkg] Remove AnyAction; replace with ActionPlan

* [vcpkg] Minor cleanup.

* [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues.

* [vcpkg] Work around ICE with MSVC v140

* [vcpkg] Add purge on fail to decompress for CI

* [vcpkg] Fix parsing of nested parentheses in qualifiers

* [vcpkg] Fix Linux builds (explicit qualification in declaration)

* [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression.

* [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h'

* [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt

* [cppitertools] Fix installed include namespace (should be include/cppitertools)

* [libsoundio] Move headers into soundio/ subdirectory as per original cmake

* [ci.baseline] Temporarily skip charls due to conflict with dcmtk

* [vcpkg] Add restricted include files post build check -- bump global abi version

* [libsoundio] Hotfix stray line in portfile

* [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions

* [jsonnet] Fix installation of internal headers; use system nlohmann-json

* [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features.

* [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h'

* [x265] Bump control version to trigger rebuild after zfp conflict

* [akali] Disable parallel configure

* [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [ci.baseline] Update baseline for improved upb support

* [tgui] Disable parallel configure

* [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Disable parallel configure

* [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change

* [libodb-sqlite] Fix configuring into source directory

* [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [libodb] DISABLE_PARALLEL_CONFIGURE

* [vcpkg] Add 'config.h' and 'local.h' to restricted header list

* [mcpp] Remove unused and problematic include 'config.h' from installed files

* [teemo] Move installed headers into subdirectory to prevent conflicts with x265

* [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts.

* [vcpkg] Add 'slice.h' as a restricted header

* [osg] Improve accuracy of dependencies (disable some, add some to Depends)

* [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars

* [ci.baseline] Skip mongo-c-driver on osx due to flakiness

* [teemo] Fix incorrect include file read

* [osg] Fix dependency typo: glut -> freeglut

* [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags.

A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port.
Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead).

* [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation.

* [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS

* Fix typo

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-03 14:22:52 -08:00
..
execute_process.cmake Use macro instead of function to override execute_process() (#7980) 2019-08-29 19:40:43 -07:00
vcpkg_acquire_msys.cmake Download Mode (#7950) 2019-08-28 13:49:29 -07:00
vcpkg_add_to_path.cmake use it in vcpkg_add_to_path. 2019-08-08 14:22:53 +02:00
vcpkg_apply_patches.cmake [vcpkg] fatal_error when patch fails to apply (#8087) 2019-10-07 10:35:13 -07:00
vcpkg_build_cmake.cmake use vcpkg add to path in build scripts 2019-08-12 10:04:50 +02:00
vcpkg_build_make.cmake [vcpkg] Fix build type in vcpkg_build_make.cmake (#9602) 2020-01-13 16:34:54 -08:00
vcpkg_build_msbuild.cmake Fix bug in .vcpkg-root detection that breaks --overlay-triplets (#7954) 2019-09-12 23:52:52 -07:00
vcpkg_build_nmake.cmake [libxslt] Fix writing to locations outside vcpkg in Windows builds (#9242) 2019-12-07 05:50:24 -08:00
vcpkg_build_qmake.cmake fixed leaking variable in vcpkg_build_qmake 2019-09-20 12:57:29 +02:00
vcpkg_buildpath_length_warning.cmake [Qt] Update to 5.12.4 (#7667) 2019-09-12 10:07:21 -07:00
vcpkg_check_features.cmake [vcpkg_check_features] Set output variable explicitly and allow reverse-logic check (#7558) 2019-08-13 20:13:55 -07:00
vcpkg_check_linkage.cmake breakpad: Enable building the libbreakpad_client library (#4008) 2018-08-08 06:02:30 -07:00
vcpkg_clean_msbuild.cmake xalan-c: Install headers correctly (#4565) 2018-10-25 12:34:45 -07:00
vcpkg_common_definitions.cmake MinGW: Fix vcpkg common definitions (#9807) 2020-01-23 12:17:40 -08:00
vcpkg_common_functions.cmake [vcpkg_install_qmake] Add vcpkg_install_qmake (#9412) 2019-12-23 06:10:12 -08:00
vcpkg_configure_cmake.cmake Add support for building with MinGW (#9137) 2020-01-17 15:36:08 -08:00
vcpkg_configure_make.cmake Fix separate make and install execution error issue. (#8540) 2019-10-21 22:49:23 -07:00
vcpkg_configure_meson.cmake vcpkg_configure_meson - Remove compiler flag /Oi (#8667) 2019-10-21 15:25:58 -07:00
vcpkg_configure_qmake.cmake [qt5-base] Fix Qt5 linux build and be a bit less flaky in CI (#9260) 2020-01-06 12:36:51 -08:00
vcpkg_copy_pdbs.cmake Added parameter to vcpkg_copy_pdbs.cmake (#3688) 2018-06-16 18:42:25 +02:00
vcpkg_copy_tool_dependencies.cmake Fix bug in .vcpkg-root detection that breaks --overlay-triplets (#7954) 2019-09-12 23:52:52 -07:00
vcpkg_download_distfile.cmake [vcpkg_download_distfile.cmake] Fix Examples (#8669) 2019-10-21 15:25:25 -07:00
vcpkg_execute_build_process.cmake [vcpkg] Use spaces instead of semicolons in the output (#7080) 2019-07-01 13:30:24 -07:00
vcpkg_execute_required_process_repeat.cmake [vcpkg] Use spaces instead of semicolons in the output (#7080) 2019-07-01 13:30:24 -07:00
vcpkg_execute_required_process.cmake Download Mode (#7950) 2019-08-28 13:49:29 -07:00
vcpkg_extract_source_archive_ex.cmake [vcpkg] fatal_error when patch fails to apply (#8087) 2019-10-07 10:35:13 -07:00
vcpkg_extract_source_archive.cmake Download Mode (#7950) 2019-08-28 13:49:29 -07:00
vcpkg_fail_port_install.cmake [vcpkg/cmake] Added a function to fail from portfiles in a default way (#7601) 2019-08-11 23:24:20 -07:00
vcpkg_find_acquire_program.cmake [vcpkg_find_acquire_program] Include version in downloaded python MSI name to avoid conflicts when updating (#8774) 2020-01-27 15:52:23 -08:00
vcpkg_fixup_cmake_targets.cmake [vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601) 2020-02-03 14:22:52 -08:00
vcpkg_from_bitbucket.cmake [GraphicsMagick] bug-fix: image files won't load (#4215) 2018-09-04 16:20:46 -07:00
vcpkg_from_git.cmake Download Mode (#7950) 2019-08-28 13:49:29 -07:00
vcpkg_from_github.cmake Merge pull request #5719 from donny-dont/github-url 2019-11-22 15:13:08 -08:00
vcpkg_from_gitlab.cmake Download Mode (#7950) 2019-08-28 13:49:29 -07:00
vcpkg_get_program_files_32_bit.cmake Improve functions that detect ProgramFiles in CMake 2017-02-24 15:02:10 -08:00
vcpkg_get_program_files_platform_bitness.cmake Improve functions that detect ProgramFiles in CMake 2017-02-24 15:02:10 -08:00
vcpkg_get_windows_sdk.cmake [vcpkg_get_windows_sdk] Don't call powershell. Deduce from env 2018-05-19 19:23:32 -07:00
vcpkg_install_cmake.cmake [vcpkg_build_cmake] Refactor _build_ and _install_ into a single cmake script. 2017-10-05 17:49:28 -07:00
vcpkg_install_make.cmake Add function vcpkg_configure_make/vcpkg_build_make/vcpkg_install_make/vcpkg_build_nmake/vcpkg_install_nmake (#8267) 2019-10-05 07:51:07 -07:00
vcpkg_install_meson.cmake [vcpkg] Reduce verbosity when building ports. Reduce cleaning requirements for packages\ directory. 2018-06-26 21:48:42 -07:00
vcpkg_install_msbuild.cmake [libusb] upgrade and support arm64 (#8976) 2019-11-19 11:02:13 -08:00
vcpkg_install_nmake.cmake [libxslt]Using vcpkg_install_nmake in Windows, support unix. (#8589) 2019-10-29 23:23:36 -07:00
vcpkg_install_qmake.cmake [vcpkg_install_qmake] Add vcpkg_install_qmake (#9412) 2019-12-23 06:10:12 -08:00
vcpkg_prettify_command.cmake [vcpkg] Use spaces instead of semicolons in the output (#7080) 2019-07-01 13:30:24 -07:00
vcpkg_replace_string.cmake use install target in Makefiles; make all portfile uniform 2017-11-06 00:24:29 +11:00
vcpkg_test_cmake.cmake Download Mode (#7950) 2019-08-28 13:49:29 -07:00