-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
75 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ab0c28a42ff5a9dee03f46211c0391ab5ef5e573 | ||
SHA512 d32894279a9a57eae0bafe5b36b28693a4d28f904481c5ab2b59ba29d023b8e370819ae2e245314508585f732a2b926b386fdbaf1ffcc3dcddbac8fd0dd79db4 | ||
) | ||
|
||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$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.3233354", | ||
"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 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "8d58f47d27a5f4cc4528a7d54befb6396b72b8df", | ||
"version-semver": "1.1.0-beta.3233354", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters