comparison README.md @ 34:7ddd840563c9

windows build for Azure plugin
author Alain Mazy <alain@mazy.be>
date Tue, 10 Nov 2020 14:14:24 +0100
parents 968eb1c78aed
children ff113c3561c5
comparison
equal deleted inserted replaced
33:70da4ce5c7cc 34:7ddd840563c9
53 53
54 * Install [vcpkg](https://github.com/Microsoft/vcpkg) 54 * Install [vcpkg](https://github.com/Microsoft/vcpkg)
55 55
56 ### Compile Azure plugin ### 56 ### Compile Azure plugin ###
57 57
58 On Linux:
59
58 * `./vcpkg install cpprestsdk` 60 * `./vcpkg install cpprestsdk`
61 * `./vcpkg install cryptopp`
59 * `hg clone ...` 62 * `hg clone ...`
60 * `mkdir -p build/azure` 63 * `mkdir -p build/azure`
61 * `cd build/azure` 64 * `cd build/azure`
62 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Azure` 65 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Azure`
66
67 On Windows:
68
69 * `.\vcpkg.exe install cpprestsdk:x64-windows-static`
70 * `.\vcpkg.exe install azure-storage-cpp:x64-windows-static`
71 * `.\vcpkg.exe install cryptopp:x64-windows-static`
72 * `hg clone ...`
73 * `mkdir -p build/azure`
74 * `cd build/azure`
75 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE="Release" ../../orthanc-object-storage/Azure`
76 * `cmake --build . --config Release`
77
63 78
64 ### Azure plugin configuration ### 79 ### Azure plugin configuration ###
65 80
66 ``` 81 ```
67 "AzureBlobStorage" : { 82 "AzureBlobStorage" : {