diff --git a/ports/azure-security-attestation-cpp/portfile.cmake b/ports/azure-security-attestation-cpp/portfile.cmake new file mode 100644 index 00000000000000..c6406d6e9b5a84 --- /dev/null +++ b/ports/azure-security-attestation-cpp/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/azure-sdk-for-cpp + REF azure-security-attestation_1.0.0-beta.1 + SHA512 bb408ffa209c6d6416836296472f391d3418d6768f74d3fcf7962f93a991319f4f53b8588b2e82b2b366c060ad71cd1a2ad4a5515f19db97e5e5ef4bd222b926 +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH}/sdk/attestation/azure-security-attestation/ + OPTIONS + ${FEATURE_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-security-attestation-cpp/vcpkg.json b/ports/azure-security-attestation-cpp/vcpkg.json new file mode 100644 index 00000000000000..34c912c60d9877 --- /dev/null +++ b/ports/azure-security-attestation-cpp/vcpkg.json @@ -0,0 +1,29 @@ +{ + "name": "azure-security-attestation-cpp", + "version-semver": "1.0.0-beta.1", + "description": [ + "Microsoft Azure Attestation Service SDK for C++", + "This library provides API access to the Microsoft Azure Attestation service." + ], + "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/attestation/azure-security-attestation", + "license": "MIT", + "dependencies": [ + { + "name": "azure-core-cpp", + "default-features": false, + "version>=": "1.5.0" + }, + { + "name": "openssl", + "version>=": "1.1.1n" + }, + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/a-/azure-security-attestation-cpp.json b/versions/a-/azure-security-attestation-cpp.json new file mode 100644 index 00000000000000..697ef92ba57801 --- /dev/null +++ b/versions/a-/azure-security-attestation-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "9b6b2e71b9d94791a1481a40367fc5ec5607b8aa", + "version-semver": "1.0.0-beta.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index f340d9b478256f..b512beb0c5cc34 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -336,6 +336,10 @@ "baseline": "2022-01-21", "port-version": 0 }, + "azure-security-attestation-cpp": { + "baseline": "1.0.0-beta.1", + "port-version": 0 + }, "azure-security-keyvault-certificates-cpp": { "baseline": "4.0.0-beta.2", "port-version": 0