diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2020-12-21 15:40:21 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-21 15:40:21 -0800 |
| commit | c898283a41af23135c048c50836f2bc2eccea819 (patch) | |
| tree | 72bba2c653f4972e3abd28e5cda3c8574fff317c /scripts/e2e_ports/overlays | |
| parent | 730187bfd9c314c29148495d2c2527797fad5d43 (diff) | |
| download | vcpkg-c898283a41af23135c048c50836f2bc2eccea819.tar.gz vcpkg-c898283a41af23135c048c50836f2bc2eccea819.zip | |
[vcpkg registries] support versions (#15114)
* [vcpkg registries] support versions
This PR merges the Registries changes and the versioning changes, so that one can use both at the same time.
There is one major difference between this PR and the RFC (#13590), which is that instead of version files looking like:
```json
[
...
]
```
version files look like:
```
{
"versions": [
...
]
}
```
this is to support interop between this PR and existing demos and the like;
fixing this, along with perhaps renaming `port_versions` to `port-versions` should be done after this is merged,
should be a trivial change.
Diffstat (limited to 'scripts/e2e_ports/overlays')
4 files changed, 18 insertions, 0 deletions
diff --git a/scripts/e2e_ports/overlays/vcpkg-uses-test-cmake/portfile.cmake b/scripts/e2e_ports/overlays/vcpkg-uses-test-cmake/portfile.cmake new file mode 100644 index 000000000..571ae3b7a --- /dev/null +++ b/scripts/e2e_ports/overlays/vcpkg-uses-test-cmake/portfile.cmake @@ -0,0 +1,3 @@ +set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+vcpkg_test_cmake(args args args)
diff --git a/scripts/e2e_ports/overlays/vcpkg-uses-test-cmake/vcpkg.json b/scripts/e2e_ports/overlays/vcpkg-uses-test-cmake/vcpkg.json new file mode 100644 index 000000000..9f34e058d --- /dev/null +++ b/scripts/e2e_ports/overlays/vcpkg-uses-test-cmake/vcpkg.json @@ -0,0 +1,6 @@ +{
+ "name": "vcpkg-uses-test-cmake",
+ "version-string": "1.0.0",
+ "description": "A test port that uses the deprecated function vcpkg_test_cmake.",
+ "homepage": ""
+}
diff --git a/scripts/e2e_ports/overlays/vcpkg-uses-vcpkg-common-functions/portfile.cmake b/scripts/e2e_ports/overlays/vcpkg-uses-vcpkg-common-functions/portfile.cmake new file mode 100644 index 000000000..9207d30b1 --- /dev/null +++ b/scripts/e2e_ports/overlays/vcpkg-uses-vcpkg-common-functions/portfile.cmake @@ -0,0 +1,3 @@ +set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+include(vcpkg_common_functions)
diff --git a/scripts/e2e_ports/overlays/vcpkg-uses-vcpkg-common-functions/vcpkg.json b/scripts/e2e_ports/overlays/vcpkg-uses-vcpkg-common-functions/vcpkg.json new file mode 100644 index 000000000..7c16ffe82 --- /dev/null +++ b/scripts/e2e_ports/overlays/vcpkg-uses-vcpkg-common-functions/vcpkg.json @@ -0,0 +1,6 @@ +{
+ "name": "vcpkg-uses-vcpkg-common-functions",
+ "version-string": "1.0.0",
+ "description": "A test port that uses the deprecated file vcpkg_common_functions.",
+ "homepage": ""
+}
|
