diff --git a/ports/azure-template-cpp/portfile.cmake b/ports/azure-template-cpp/portfile.cmake new file mode 100644 index 00000000000000..4250f8305f97b3 --- /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 818d22778f8c0542451fcb095d8a1d4bb40acdb3 + SHA512 19a63fa58eaea656c9e23d10e0de18de57ffc1ea6a73596ed538e9a50ad7b3e631470eb64e8a66bbc8b0b1615712795cc70c137692e376a6f1812f3cb884a78f +) + +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..7e628dd9e8aec0 --- /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.3326809", + "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..8636d7cc89edbb --- /dev/null +++ b/versions/a-/azure-template-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "d9ac4846990ebf8d230dccfeba1ee6919cab3544", + "version-semver": "1.1.0-beta.3326809", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index b957aa723700ff..155bb77ef4c912 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.3326809", + "port-version": 0 + }, "azure-uamqp-c": { "baseline": "2023-08-07", "port-version": 0