Mercurial > hg > orthanc-object-storage
diff 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 |
line wrap: on
line diff
--- a/README.md Fri Oct 09 10:23:27 2020 +0200 +++ b/README.md Tue Nov 10 14:14:24 2020 +0100 @@ -55,12 +55,27 @@ ### Compile Azure plugin ### +On Linux: + * `./vcpkg install cpprestsdk` +* `./vcpkg install cryptopp` * `hg clone ...` * `mkdir -p build/azure` * `cd build/azure` * `cmake -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake ../../orthanc-object-storage/Azure` +On Windows: + +* `.\vcpkg.exe install cpprestsdk:x64-windows-static` +* `.\vcpkg.exe install azure-storage-cpp:x64-windows-static` +* `.\vcpkg.exe install cryptopp:x64-windows-static` +* `hg clone ...` +* `mkdir -p build/azure` +* `cd build/azure` +* `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` +* `cmake --build . --config Release` + + ### Azure plugin configuration ### ```