From 6378b72610785cd29dae3f72233aa12d9b20b27f Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 5 Dec 2023 23:10:47 +0000 Subject: [PATCH] Daily vcpkg ports for template --- ports/azure-template-cpp/portfile.cmake | 32 +++++++++++++++++++++++++ ports/azure-template-cpp/vcpkg.json | 30 +++++++++++++++++++++++ versions/a-/azure-template-cpp.json | 9 +++++++ versions/baseline.json | 4 ++++ 4 files changed, 75 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..9c8b767161799a --- /dev/null +++ b/ports/azure-template-cpp/portfile.cmake @@ -0,0 +1,32 @@ +# NOTE: All changes made to this file will get overwritten by the next port release. +# Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp. + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF af6d5dcd076abe795285280da0dbfc3c535237b2 + SHA512 6b3cc6217afada8dc84346bc72c9d0d958e059da736cf53c6009cb5061e8231fefab19d06e15c85e432baa48ff5658248829c971ba053a42e6553e2144ed8804 +) + +if(EXISTS "${SOURCE_PATH}/sdk/template/azure-template") + file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/template/_") + file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/_") + file(REMOVE_RECURSE "${SOURCE_PATH}/_") + + file(RENAME "${SOURCE_PATH}/sdk/template/azure-template" "${SOURCE_PATH}/sdk/template/_") + file(RENAME "${SOURCE_PATH}/sdk/template" "${SOURCE_PATH}/sdk/_") + file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_") +endif() + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}/_/_/_" + OPTIONS + -DWARNINGS_AS_ERRORS=OFF + -DBUILD_TESTING=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..50eb7eb9f3f9e1 --- /dev/null +++ b/ports/azure-template-cpp/vcpkg.json @@ -0,0 +1,30 @@ +{ + "$comment": [ + "NOTE: All changes made to this file will get overwritten by the next port release.", + "Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp." + ], + "name": "azure-template-cpp", + "version-semver": "1.1.0-beta.3320209", + "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..78d0d3fb96150a --- /dev/null +++ b/versions/a-/azure-template-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "5e3f9c747eb86b6914f25d4bbd84a9ed6ba1d3b1", + "version-semver": "1.1.0-beta.3320209", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index b957aa723700ff..f329b807942684 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -496,6 +496,10 @@ "baseline": "12.3.0-beta.1", "port-version": 0 }, + "azure-template-cpp": { + "baseline": "1.1.0-beta.3320209", + "port-version": 0 + }, "azure-uamqp-c": { "baseline": "2023-08-07", "port-version": 0