azure-sdk-for-c
azure-sdk-for-c copied to clipboard
Make AzureSDK to automatically fetch and use VCPKG to get dependencies
By using the latest featues from vcpkg for caching and for manifest mode, we can automate pullging vcpkg automatically with cmake and use a vcpkg manifest to declare the library dependencies. This would delegate vcpkg cache and 3rd party dependencies installation to Vcpkg.
After this change, users no longer need to worry about getting vcpkg, installing dependencies and setting environment variables as a prerequisite for building the Azure SDK.
Users can still use vcpkg classic mode if they set VCPKG_ROOT
Note. This is the current approach for using Vcpkg in the azure sdk for cpp.
/azp run c - client
Azure Pipelines successfully started running 1 pipeline(s).
/azp run c - client
Azure Pipelines successfully started running 1 pipeline(s).
/azp run c - client
Azure Pipelines successfully started running 1 pipeline(s).
/azp run c - client - tests
Azure Pipelines successfully started running 1 pipeline(s).
Live tests (after updating pipeline variables) -- https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1732473&view=results
Live tests (after updating pipeline variables) -- https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1732473&view=results

beautiful!!! vcpkg cache working :)
Live tests passed, FYI.
/azp run c - client - ci
Azure Pipelines successfully started running 1 pipeline(s).
@vhvb1989 - Can we merge this?