diff options
| author | Don <don.j.olmstead@gmail.com> | 2019-03-14 13:43:49 -0700 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-03-14 13:43:49 -0700 |
| commit | a421f43ed153cf0c86c7e0e01c9790785e7353e6 (patch) | |
| tree | 5757e83b27a24bd1b510de4e154e9430b9432b5e /scripts/cmake/vcpkg_from_gitlab.cmake | |
| parent | 03696669ca9cf0a42ae08fd49f3db9ac6debaf87 (diff) | |
| download | vcpkg-a421f43ed153cf0c86c7e0e01c9790785e7353e6.tar.gz vcpkg-a421f43ed153cf0c86c7e0e01c9790785e7353e6.zip | |
Add headers to vcpkg_download_distfile (#5640)
* Add headers to vcpkg_download_distfile
Allows headers to be appended when downloading a distribution. This allows for setting
authentication headers to download from a private repository.
* [scripts,docs] Regenerate docs for portfile functions
* [docs,scripts] Fix typo regressions
* [docs,scripts] Fix broken link
Diffstat (limited to 'scripts/cmake/vcpkg_from_gitlab.cmake')
| -rw-r--r-- | scripts/cmake/vcpkg_from_gitlab.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_from_gitlab.cmake b/scripts/cmake/vcpkg_from_gitlab.cmake index f13bc054c..6bbe81ed6 100644 --- a/scripts/cmake/vcpkg_from_gitlab.cmake +++ b/scripts/cmake/vcpkg_from_gitlab.cmake @@ -56,7 +56,11 @@ ## ## This exports the `VCPKG_HEAD_VERSION` variable during head builds. ## - +## ## Examples: +## * [curl][https://github.com/Microsoft/vcpkg/blob/master/ports/curl/portfile.cmake#L75] +## * [folly](https://github.com/Microsoft/vcpkg/blob/master/ports/folly/portfile.cmake#L15) +## * [z3](https://github.com/Microsoft/vcpkg/blob/master/ports/z3/portfile.cmake#L13) +## function(vcpkg_from_gitlab) set(oneValueArgs OUT_SOURCE_PATH GITLAB_URL USER REPO REF SHA512 HEAD_REF) set(multipleValuesArgs PATCHES) |
