This ticket aims to integrate the Azure SDK and extension with the CMake Build system and implement it. The design will follow very similarly to S3 CMake Integration which can be used as a reference while implementing this ticket. The ticket will create two configurations.
cmake -DENABLE_AZURE=1 <path-to-source> cmake -DIMPORT_AZURE_SDK={external,package} <path-to-source>
The first configuration would configure the extension to be built or not built with WiredTiger. The configuration will be default to be not built unless specified.
The second configuration would create the ability to fetch the SDK externally and bring it into the build directory. The CMake configuration will default to not fetch the SDK because it can be potentially quite large. The ticket will use CMake's concept of FetchContent to externally grab the SDK and then build the SDK.
I have attached a POC Azure cmake SDK, please continue the work of it and read the investigation ticket that followed into this ticket.
Definition of Done
Developers will be able to use the new configurations in CMake to able to fetch both provider's SDK without any external dependencies.