annotate Azure/CMakeLists.txt @ 99:f4e05641c108

rewrote using the latest azure C++ sdk
author Alain Mazy <am@osimis.io>
date Thu, 20 Jul 2023 15:09:57 +0200
parents 7bf31db5497e
children 16f0abc677c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
1 # Cloud storage plugins for Orthanc
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
2 # Copyright (C) 2020-2021 Osimis S.A., Belgium
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
3 #
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
4 # This program is free software: you can redistribute it and/or
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
5 # modify it under the terms of the GNU Affero General Public License
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
6 # as published by the Free Software Foundation, either version 3 of
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
7 # the License, or (at your option) any later version.
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
8 #
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
9 # This program is distributed in the hope that it will be useful, but
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
12 # Affero General Public License for more details.
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
13 #
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
14 # You should have received a copy of the GNU Affero General Public License
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
16
b922ae86bbe1 full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 52
diff changeset
17
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
18 cmake_minimum_required(VERSION 2.8)
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
19
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
20 project(OrthancAzureBlobStorage)
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
21
52
8a1dfd2d790d back to 'mainline' version
Alain Mazy <am@osimis.io>
parents: 50
diff changeset
22 set(PLUGIN_VERSION "mainline")
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
23
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
24 include(CheckIncludeFileCXX)
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
25
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
26 set(ORTHANC_FRAMEWORK_SOURCE "hg" CACHE STRING "orthanc source")
49
6db76975d0f8 update to Orthanc Framework 1.9.2
Alain Mazy <am@osimis.io>
parents: 47
diff changeset
27 set(ORTHANC_FRAMEWORK_VERSION "1.9.2" CACHE STRING "orthanc framework version")
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
28 set(ALLOW_DOWNLOADS ON)
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
29
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
30 # Download and setup the Orthanc framework
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
31
59
f3c44d61e1e1 AWS S3: Support of dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 56
diff changeset
32 include(${CMAKE_SOURCE_DIR}/../Common/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake)
15
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
33 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkParameters.cmake)
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
34
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
35 set(ENABLE_GOOGLE_TEST ON)
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
36 set(ORTHANC_FRAMEWORK_PLUGIN ON)
22
319d41a22de4 more lightweight use of Orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 18
diff changeset
37 set(ENABLE_MODULE_IMAGES OFF)
319d41a22de4 more lightweight use of Orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 18
diff changeset
38 set(ENABLE_MODULE_JOBS OFF)
319d41a22de4 more lightweight use of Orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 18
diff changeset
39 set(ENABLE_MODULE_DICOM OFF)
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
40
15
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
41 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake)
18
44de9edf2443 fix compilation to avoid exposing internal symbols which caused a crash at Orthanc startup
Alain Mazy
parents: 15
diff changeset
42 include(${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake)
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
43
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
44 add_definitions(
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
45 -DHAS_ORTHANC_EXCEPTION=1
15
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
46 -DORTHANC_ENABLE_LOGGING=1
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
47 -DAZURE_STORAGE_PLUGIN=1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
48 )
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
49 add_definitions(-DPLUGIN_VERSION="${PLUGIN_VERSION}")
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
50
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
51 include_directories(
15
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
52 ${ORTHANC_FRAMEWORK_ROOT}
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
53 ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
54 ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Samples/Common
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
55 )
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
56
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
57 find_package(cryptopp CONFIG REQUIRED)
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
58
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
59 # Azure stuff (from https://github.com/Microsoft/vcpkg/issues/6277)
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
60 find_package(azure-storage-blobs-cpp CONFIG REQUIRED)
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
61
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
62 # if (NOT WIN32)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
63 # find_package(cpprestsdk CONFIG REQUIRED)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
64 # find_path(WASTORAGE_INCLUDE_DIR was/blob.h)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
65 # find_library(WASTORAGE_LIBRARY azurestorage)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
66 # find_package(Boost REQUIRED COMPONENTS log)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
67 # find_library(UUID_LIBRARY uuid)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
68 # find_package(LibXml2 REQUIRED)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
69 # else() # inspired from https://github.com/phongcao/azure-storage-cpp-sas-sample/blob/master/CMakeLists.txt
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
70 # find_path(WASTORAGE_INCLUDE_DIR was/blob.h)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
71 # find_library(CPPREST_LIBRARY
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
72 # NAMES cpprest cpprest_2_10)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
73 # find_library(WASTORAGE_LIBRARY wastorage)
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
74
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
75 # set (CMAKE_CXX_STANDARD 11)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
76 # set (CMAKE_CXX_STANDARD_REQUIRED ON)
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
77 # set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHa")
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
78 # set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
79 # set (CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
89
62752402edbb azure build for Windows platform
Alain Mazy <alain@mazy.be>
parents: 83
diff changeset
80
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
81 # message(INFO "WASTORAGE_INCLUDE_DIR ${WASTORAGE_INCLUDE_DIR}")
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
82
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
83 # add_definitions(-D_NO_WASTORAGE_API=1) # from https://github.com/Azure/azure-storage-cpp/issues/263
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
84 # endif()
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
85
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
86 # include_directories(${WASTORAGE_INCLUDE_DIR})
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
87 set (CMAKE_CXX_STANDARD 14)
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
88
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
89 set(COMMON_SOURCES
78
d7295e8678d7 renames
Alain Mazy <am@osimis.io>
parents: 77
diff changeset
90 ${CMAKE_SOURCE_DIR}/../Common/IStorage.h
d7295e8678d7 renames
Alain Mazy <am@osimis.io>
parents: 77
diff changeset
91 ${CMAKE_SOURCE_DIR}/../Common/BaseStorage.h
d7295e8678d7 renames
Alain Mazy <am@osimis.io>
parents: 77
diff changeset
92 ${CMAKE_SOURCE_DIR}/../Common/BaseStorage.cpp
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
93 ${CMAKE_SOURCE_DIR}/../Common/EncryptionHelpers.cpp
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
94 ${CMAKE_SOURCE_DIR}/../Common/EncryptionHelpers.h
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
95 ${CMAKE_SOURCE_DIR}/../Common/EncryptionConfigurator.cpp
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
96 ${CMAKE_SOURCE_DIR}/../Common/EncryptionConfigurator.h
78
d7295e8678d7 renames
Alain Mazy <am@osimis.io>
parents: 77
diff changeset
97 ${CMAKE_SOURCE_DIR}/../Common/FileSystemStorage.h
d7295e8678d7 renames
Alain Mazy <am@osimis.io>
parents: 77
diff changeset
98 ${CMAKE_SOURCE_DIR}/../Common/FileSystemStorage.cpp
83
431ab61b5760 /move-storage when HybridMode is enabled
Alain Mazy <am@osimis.io>
parents: 78
diff changeset
99 ${CMAKE_SOURCE_DIR}/../Common/MoveStorageJob.h
431ab61b5760 /move-storage when HybridMode is enabled
Alain Mazy <am@osimis.io>
parents: 78
diff changeset
100 ${CMAKE_SOURCE_DIR}/../Common/MoveStorageJob.cpp
15
2a02b21f0a19 migration + storage structure
Alain Mazy
parents: 8
diff changeset
101 ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
102
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
103 ${ORTHANC_CORE_SOURCES}
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
104 )
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
105
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
106 add_library(OrthancAzureBlobStorage SHARED
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
107 AzureBlobStoragePlugin.cpp
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
108 AzureBlobStoragePlugin.h
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
109 ${CMAKE_SOURCE_DIR}/../Common/StoragePlugin.cpp
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
110
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
111 ${COMMON_SOURCES}
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
112 )
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
113
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
114 set_target_properties(OrthancAzureBlobStorage PROPERTIES
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
115 VERSION ${PLUGIN_VERSION}
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
116 SOVERSION ${PLUGIN_VERSION}
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
117 )
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
118
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
119 if (NOT WIN32)
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
120
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
121 target_link_libraries(OrthancAzureBlobStorage
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
122 PRIVATE
91
7bf31db5497e fix cryptopp lib name for Linux build
Alain Mazy <am@osimis.io>
parents: 89
diff changeset
123 cryptopp::cryptopp
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
124 ${WASTORAGE_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
125 ${UUID_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
126 ${Boost_LIBRARIES}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
127 ${LIBXML2_LIBRARIES}
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
128 Azure::azure-storage-blobs
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
129 )
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
130 else()
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
131 target_link_libraries(OrthancAzureBlobStorage
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
132 PRIVATE
99
f4e05641c108 rewrote using the latest azure C++ sdk
Alain Mazy <am@osimis.io>
parents: 91
diff changeset
133 Azure::azure-storage-blobs
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
134 ${OPENSSL_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
135 ${WASTORAGE_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
136 ${CPPREST_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
137 Winhttp.lib
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
138 Crypt32.lib
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
139 xmllite.lib
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
140 )
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
141
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
142 endif()
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
143
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
144
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
145 # add_executable(UnitTests
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
146 # ${GOOGLE_TEST_SOURCES}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
147 # ${COMMON_SOURCES}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
148
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
149 # ${CMAKE_SOURCE_DIR}/../UnitTestsSources/EncryptionTests.cpp
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
150 # ${CMAKE_SOURCE_DIR}/../UnitTestsSources/UnitTestsMain.cpp
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
151 # )
1
fc26a8fc54d5 initial release
Alain Mazy <alain@mazy.be>
parents:
diff changeset
152
34
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
153 # target_link_libraries(UnitTests
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
154 # PRIVATE
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
155 # cryptopp-static
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
156 # ${GOOGLE_TEST_LIBRARIES}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
157 # ${WASTORAGE_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
158 # # ${UUID_LIBRARY}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
159 # # ${Boost_LIBRARIES}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
160 # # ${LIBXML2_LIBRARIES}
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
161 # cpprestsdk::cpprest
7ddd840563c9 windows build for Azure plugin
Alain Mazy <alain@mazy.be>
parents: 22
diff changeset
162 # )