From ba6453e1f368574fd9da19cbbe4148c71aaea6e3 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 16 Sep 2022 21:18:29 +0000 Subject: [PATCH] [azure-template-cpp] Update to 1.1.0-beta.1856252 ## 1.1.0-beta.1856252 (2022-09-16) * Validate template project ahead of release --- ports/azure-template-cpp/portfile.cmake | 18 +++++++++++++++++ ports/azure-template-cpp/vcpkg.json | 26 +++++++++++++++++++++++++ versions/a-/azure-template-cpp.json | 9 +++++++++ versions/baseline.json | 4 ++++ 4 files changed, 57 insertions(+) create mode 100644 ports/azure-template-cpp/portfile.cmake create mode 100644 ports/azure-template-cpp/vcpkg.json create mode 100644 versions/a-/azure-template-cpp.json diff --git a/ports/azure-template-cpp/portfile.cmake b/ports/azure-template-cpp/portfile.cmake new file mode 100644 index 00000000000000..7174e7574cbd2a --- /dev/null +++ b/ports/azure-template-cpp/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF azure-template_1.1.0-beta.1856252 + SHA512 3719d99da57f90fe6e9b36cf63433c2cc6d4a09d088ab7fe72f24d541e1054b7ca9faa30d387ccd43e04100704432667274a1908c0a08d8635d3cc4c5ac7b34a +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH}/sdk/template/azure-template/ + OPTIONS + -DWARNINGS_AS_ERRORS=OFF +) + +vcpkg_cmake_install() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +vcpkg_cmake_config_fixup() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +vcpkg_copy_pdbs() diff --git a/ports/azure-template-cpp/vcpkg.json b/ports/azure-template-cpp/vcpkg.json new file mode 100644 index 00000000000000..e29ee21dcb47a2 --- /dev/null +++ b/ports/azure-template-cpp/vcpkg.json @@ -0,0 +1,26 @@ +{ + "name": "azure-template-cpp", + "version-semver": "1.1.0-beta.1856252", + "description": [ + "Microsoft Azure Template SDK for C++", + "This is a template library meant to illustrate initial client library development process for Azure SDK.", + "It is not meant to be published to vcpkg." + ], + "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/template/azure-template", + "license": "MIT", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false, + "version>=": "1.3.1" + }, + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/a-/azure-template-cpp.json b/versions/a-/azure-template-cpp.json new file mode 100644 index 00000000000000..4beca31d79a80e --- /dev/null +++ b/versions/a-/azure-template-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "85483967f1eab73befa15bf69fdeccd5c91c9ced", + "version-semver": "1.1.0-beta.1856252", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index cc4df3513fb164..f40a14654a95b5 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -396,6 +396,10 @@ "baseline": "12.0.0", "port-version": 0 }, + "azure-template-cpp": { + "baseline": "1.1.0-beta.1856252", + "port-version": 0 + }, "azure-uamqp-c": { "baseline": "2022-01-21", "port-version": 1