Skip to content

Commit

Permalink
Daily vcpkg ports for template
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk committed Sep 30, 2024
1 parent 79b2b3f commit 413c98f
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
33 changes: 33 additions & 0 deletions ports/azure-template-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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 171386533aba7cee966a50daff9735fe2431a1db
SHA512 faaa925ff7abb8729c5e818ec1d931c0f17b2b24e2e2f80b3de42264225b50017be85200fc41c81691c42d4677003e30144ab436802e99f0d5eecf1ff702df87
HEAD_REF main
)

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()
30 changes: 30 additions & 0 deletions ports/azure-template-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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.4187153",
"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
}
]
}
9 changes: 9 additions & 0 deletions versions/a-/azure-template-cpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "0f6e0c84184cfd11c100cade8e2b92f6e5ed266c",
"version-semver": "1.1.0-beta.4187153",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@
"baseline": "12.5.0-beta.1",
"port-version": 0
},
"azure-template-cpp": {
"baseline": "1.1.0-beta.4187153",
"port-version": 0
},
"azure-uamqp-c": {
"baseline": "2024-08-12",
"port-version": 0
Expand Down

0 comments on commit 413c98f

Please sign in to comment.