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 Oct 27, 2023
1 parent 837dd7a commit a8b0670
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ports/azure-template-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF 6aec2a380719f73fe497845dd917ffd0a7ee898f
SHA512 96db6f50bca12832b4a921f92ba2232485ce21eca7d68484a0aa6cee715dbc9e6d12330f63cc1162eebfa1bfb5e76d0c3d75ee95eb6729666507f174e65dfc9b
)

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()
26 changes: 26 additions & 0 deletions ports/azure-template-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "azure-template-cpp",
"version-semver": "1.1.0-beta.3209882",
"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": "3004e871a6a1371df3fcf3d8e2fa592ac4c7d817",
"version-semver": "1.1.0-beta.3209882",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,10 @@
"baseline": "12.2.0-beta.2",
"port-version": 0
},
"azure-template-cpp": {
"baseline": "1.1.0-beta.3209882",
"port-version": 0
},
"azure-uamqp-c": {
"baseline": "2023-08-07",
"port-version": 0
Expand Down

0 comments on commit a8b0670

Please sign in to comment.