aboutsummaryrefslogtreecommitdiff
path: root/ports/azure-macro-utils-c
diff options
context:
space:
mode:
authorewertons <ewertons@microsoft.com>2019-12-10 11:11:46 -0800
committerRobert Schumacher <roschuma@microsoft.com>2019-12-10 11:11:46 -0800
commit837fcab0ef8395b6da130c04c81f640d96669276 (patch)
tree40f4aa2b163c8567c8149ee2ccdf6d6af87566f6 /ports/azure-macro-utils-c
parentbeacecf48de4ad023be4f7b0e75d979d00f8b16c (diff)
downloadvcpkg-837fcab0ef8395b6da130c04c81f640d96669276.tar.gz
vcpkg-837fcab0ef8395b6da130c04c81f640d96669276.zip
[azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations (#9117)
* [azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations * [azure-c-shared-utility]Terminate the build process when building uwp.
Diffstat (limited to 'ports/azure-macro-utils-c')
-rw-r--r--ports/azure-macro-utils-c/CONTROL4
-rw-r--r--ports/azure-macro-utils-c/portfile.cmake24
2 files changed, 20 insertions, 8 deletions
diff --git a/ports/azure-macro-utils-c/CONTROL b/ports/azure-macro-utils-c/CONTROL
index 152bab24b..519824497 100644
--- a/ports/azure-macro-utils-c/CONTROL
+++ b/ports/azure-macro-utils-c/CONTROL
@@ -1,5 +1,7 @@
Source: azure-macro-utils-c
-Version: 2019-10-07.2
+Version: 2019-11-27.1
Description: A library of macros for the Azure IoT SDK Suite
Build-Depends:
+Feature: public-preview
+Description: A library of macros for the Azure IoT SDK Suite (public-preview)
diff --git a/ports/azure-macro-utils-c/portfile.cmake b/ports/azure-macro-utils-c/portfile.cmake
index 306a9e463..1758d13db 100644
--- a/ports/azure-macro-utils-c/portfile.cmake
+++ b/ports/azure-macro-utils-c/portfile.cmake
@@ -2,13 +2,23 @@ include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
-vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO Azure/azure-macro-utils-c
- REF 7523af934fc4d9423111e358f49b19314ec9c3e3
- SHA512 b53765096654fff9c5670004e4e107bffa81dd07e63eeac687c9e2b7e5ea2e1f26b6ae025c05c45f5c28152a457922f08c7f8d3303fa4d3b9194c34ba59533d5
- HEAD_REF master
-)
+if("public-preview" IN_LIST FEATURES)
+ vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Azure/azure-macro-utils-c
+ REF 7523af934fc4d9423111e358f49b19314ec9c3e3
+ SHA512 b53765096654fff9c5670004e4e107bffa81dd07e63eeac687c9e2b7e5ea2e1f26b6ae025c05c45f5c28152a457922f08c7f8d3303fa4d3b9194c34ba59533d5
+ HEAD_REF master
+ )
+else()
+ vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Azure/azure-macro-utils-c
+ REF 7523af934fc4d9423111e358f49b19314ec9c3e3
+ SHA512 b53765096654fff9c5670004e4e107bffa81dd07e63eeac687c9e2b7e5ea2e1f26b6ae025c05c45f5c28152a457922f08c7f8d3303fa4d3b9194c34ba59533d5
+ HEAD_REF master
+ )
+endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}