diff --git a/ports/azure-template-cpp/portfile.cmake b/ports/azure-template-cpp/portfile.cmake new file mode 100644 index 00000000000000..ddebb74cddac6e --- /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 2c050661aa9dad807d0e8c01411ea6480b654f90 + SHA512 f7e3cc40ca2e11c882629efc1f706770f64215bf0418258e4182b5e2535767d347d229501ca555d0d07e779e317d8f8ac165fc97a44d23b98353dd3894e0ae28 +) + +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..ea752b5152eb93 --- /dev/null +++ b/ports/azure-template-cpp/vcpkg.json @@ -0,0 +1,25 @@ +{ + "name": "azure-template-cpp", + "version-semver": "1.0.0-beta.869602", + "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..6f03d684a8a88e --- /dev/null +++ b/versions/a-/azure-template-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "1d2cba8b6b325da1b6eedd71f09e80dc81a9e3cb", + "version-semver": "1.0.0-beta.869602", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 5295b27b398053..8a521cbb31d990 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.869602", + "port-version": 0 + }, "azure-uamqp-c": { "baseline": "2020-12-09", "port-version": 0