From 053f5ccd28c0ae6677c07ce46fa5a8436247d25d Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 4 May 2021 22:11:23 +0000 Subject: [PATCH] Daily vcpkg ports for template --- ports/azure-template-cpp/portfile.cmake | 19 +++++++++++++++++++ ports/azure-template-cpp/vcpkg.json | 25 +++++++++++++++++++++++++ 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..a646f2c1fe9d2d --- /dev/null +++ b/ports/azure-template-cpp/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF 84560cb5f77be170596b38e629096d589a3570f1 + SHA512 b5dca1a14dd09226bc817a7292a7c5edf3e72905a73bae7b64c5fca93c454e418799f20dd505b9707e8e4335e144081e07e4b5a637d49d76e2bae5228fe552a8 +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH}/sdk/template/azure-template/ + PREFER_NINJA + 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..b446da0b45db55 --- /dev/null +++ b/ports/azure-template-cpp/vcpkg.json @@ -0,0 +1,25 @@ +{ + "name": "azure-template-cpp", + "version-semver": "1.0.0-beta.875639", + "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/master/sdk/template/azure-template", + "license": "MIT", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false + }, + { + "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..c1dcbd2fb5911d --- /dev/null +++ b/versions/a-/azure-template-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "2f87a2ecbac69fcd46eb6ae7ce111799930a683e", + "version-semver": "1.0.0-beta.875639", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 738af882a73362..91598b20db186a 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -292,6 +292,10 @@ "baseline": "12.0.0-beta.11", "port-version": 0 }, + "azure-template-cpp": { + "baseline": "1.0.0-beta.875639", + "port-version": 0 + }, "azure-uamqp-c": { "baseline": "2020-12-09", "port-version": 0