comparison README.md @ 101:57be7094d6c5

updated Google plugin for latest SDK
author Alain Mazy <am@osimis.io>
date Thu, 20 Jul 2023 16:14:39 +0200
parents d65580d2e9ca
children 6aa3ec905f58
comparison
equal deleted inserted replaced
100:16f0abc677c5 101:57be7094d6c5
24 } 24 }
25 ``` 25 ```
26 26
27 ### Compile Google plugin ### 27 ### Compile Google plugin ###
28 28
29 * `./vcpkg install google-cloud-cpp` 29 On Linux, with vcpkg version `2023.06.20`:
30
31 * `./vcpkg install google-cloud-cpp[storage]`
30 * `./vcpkg install cryptopp` 32 * `./vcpkg install cryptopp`
31 * `hg clone ...` 33 * `hg clone ...`
32 * `mkdir -p build/google` 34 * `mkdir -p build/google`
33 * `cd build/google` 35 * `cd build/google`
34 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Google` 36 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Google`
53 55
54 * Install [vcpkg](https://github.com/Microsoft/vcpkg) 56 * Install [vcpkg](https://github.com/Microsoft/vcpkg)
55 57
56 ### Compile Azure plugin ### 58 ### Compile Azure plugin ###
57 59
58 On Linux, with vcpkg version `2022.11.14`: 60 On Linux, with vcpkg version `2023.06.20`:
59 61
60 * `./vcpkg install cpprestsdk` 62 * `./vcpkg install azure-core-cpp azure-storage-blobs-cpp`
61 * `./vcpkg install cryptopp` 63 * `./vcpkg install cryptopp`
62 * `hg clone ...` 64 * `hg clone ...`
63 * `mkdir -p build/azure` 65 * `mkdir -p build/azure`
64 * `cd build/azure` 66 * `cd build/azure`
65 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Azure` 67 * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Azure`
66 68
67 On Windows, with vcpkg version `2022.11.14` : 69 On Windows, with vcpkg version `2023.06.20` :
68 70
69 * `.\vcpkg.exe install cpprestsdk:x64-windows-static` 71 * `.\vcpkg.exe install azure-storage-blobs-cpp:x64-windows-static`
70 * `.\vcpkg.exe install azure-storage-cpp:x64-windows-static`
71 * `.\vcpkg.exe install cryptopp:x64-windows-static` 72 * `.\vcpkg.exe install cryptopp:x64-windows-static`
72 * `hg clone ...` 73 * `hg clone ...`
73 * `mkdir -p build/azure` 74 * `mkdir -p build/azure`
74 * `cd build/azure` 75 * `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 -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`