Mercurial > hg > orthanc-object-storage
annotate Aws/AwsStaticConfiguration.cmake @ 155:cf1c7c4441b4
cleaning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 22 Jun 2024 17:12:20 +0200 |
parents | e8ac39175eaf |
children | cb9b4d8c75a2 |
rev | line source |
---|---|
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 # Cloud storage plugins for Orthanc |
145
3c7e0374f28e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
2 # Copyright (C) 2020-2023 Osimis S.A., Belgium |
3c7e0374f28e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
3 # Copyright (C) 2024-2024 Orthanc Team SRL, Belgium |
3c7e0374f28e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
4 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 # |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 # 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:
diff
changeset
|
7 # 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:
diff
changeset
|
8 # 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:
diff
changeset
|
9 # the License, or (at your option) any later version. |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 # |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 # 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:
diff
changeset
|
12 # WITHOUT ANY WARRANTY; without even the implied warranty of |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 # Affero General Public License for more details. |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 # |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 # 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:
diff
changeset
|
17 # 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:
diff
changeset
|
18 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
20 # The versions below must match those in "./DownloadStaticPackages.sh" |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
21 SET(AWS_CHECKSUMS_VERSION 0.1.17) |
155 | 22 SET(AWS_CRT_CPP_VERSION 0.24.1) |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
23 SET(AWS_C_AUTH_VERSION 0.7.1) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
24 SET(AWS_C_CAL_VERSION 0.6.1) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
25 SET(AWS_C_COMMON_VERSION 0.9.3) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
26 SET(AWS_C_COMPRESSION_VERSION 0.2.17) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
27 SET(AWS_C_EVENT_STREAM_VERSION 0.3.1) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
28 SET(AWS_C_HTTP_VERSION 0.7.11) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
29 SET(AWS_C_IO_VERSION 0.13.31) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
30 SET(AWS_C_MQTT_VERSION 0.9.5) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
31 SET(AWS_C_S3_VERSION 0.3.14) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
32 SET(AWS_C_SDKUTILS_VERSION 0.1.11) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
33 SET(AWS_SDK_CPP_VERSION 1.11.178) |
107 | 34 |
155 | 35 SET(AWS_CHECKSUMS_MD5 "c256144404dc74349a8344662111e353") |
36 SET(AWS_CRT_CPP_MD5 "fa2cda44386bd56f1d4609c6a54a59f9") | |
37 SET(AWS_C_AUTH_MD5 "aa690622a5f697d47ca3095ba2ef3cca") | |
38 SET(AWS_C_CAL_MD5 "6d7c05e2f1c173b923e77b6021cb660d") | |
39 SET(AWS_C_COMMON_MD5 "d872ff682d5beca8ada6b19464235ca0") | |
40 SET(AWS_C_COMPRESSION_MD5 "b8bc8bc9cf3749eb2d3f36098c9ead27") | |
41 SET(AWS_C_EVENT_STREAM_MD5 "e3261d89598a3331eebcd0476b523c73") | |
42 SET(AWS_C_HTTP_MD5 "b8ef3268d4d64b7fabe743b03518d2d7") | |
43 SET(AWS_C_IO_MD5 "9ae415cb81404e1b76d8e8267e585e34") | |
44 SET(AWS_C_MQTT_MD5 "76d59d9f14f3999b0f9618e386e71db6") | |
45 SET(AWS_C_S3_MD5 "564bb0df1184ebe9ce41c23a0c18cf1a") | |
46 SET(AWS_C_SDKUTILS_MD5 "713cac3392aa20d5dda852cf21ac1957") | |
47 SET(AWS_SDK_CPP_MD5 "a3f45888e939bb71506e0f7eaa630e48") | |
48 | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
49 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
50 SET(AWS_CHECKSUMS_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-checksums-${AWS_CHECKSUMS_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
51 SET(AWS_CHECKSUMS_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-checksums-${AWS_CHECKSUMS_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
52 DownloadPackage(${AWS_CHECKSUMS_MD5} ${AWS_CHECKSUMS_URL} "${AWS_CHECKSUMS_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
53 |
155 | 54 SET(AWS_CRT_CPP_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-crt-cpp-${AWS_CRT_CPP_VERSION}) |
55 SET(AWS_CRT_CPP_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-crt-cpp-${AWS_CRT_CPP_VERSION}.tar.gz") | |
56 DownloadPackage(${AWS_CRT_CPP_MD5} ${AWS_CRT_CPP_URL} "${AWS_CRT_CPP_SOURCES_DIR}") | |
57 | |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
58 SET(AWS_C_AUTH_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-auth-${AWS_C_AUTH_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
59 SET(AWS_C_AUTH_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-auth-${AWS_C_AUTH_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
60 DownloadPackage(${AWS_C_AUTH_MD5} ${AWS_C_AUTH_URL} "${AWS_C_AUTH_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
61 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
62 SET(AWS_C_CAL_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-cal-${AWS_C_CAL_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
63 SET(AWS_C_CAL_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-cal-${AWS_C_CAL_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
64 DownloadPackage(${AWS_C_CAL_MD5} ${AWS_C_CAL_URL} "${AWS_C_CAL_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
65 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
66 SET(AWS_C_COMMON_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-common-${AWS_C_COMMON_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
67 SET(AWS_C_COMMON_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-common-${AWS_C_COMMON_VERSION}.tar.gz") |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
68 DownloadPackage(${AWS_C_COMMON_MD5} ${AWS_C_COMMON_URL} "${AWS_C_COMMON_SOURCES_DIR}") |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
69 |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
70 SET(AWS_C_COMPRESSION_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-compression-${AWS_C_COMPRESSION_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
71 SET(AWS_C_COMPRESSION_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-compression-${AWS_C_COMPRESSION_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
72 DownloadPackage(${AWS_C_COMPRESSION_MD5} ${AWS_C_COMPRESSION_URL} "${AWS_C_COMPRESSION_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
73 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
74 SET(AWS_C_EVENT_STREAM_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-event-stream-${AWS_C_EVENT_STREAM_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
75 SET(AWS_C_EVENT_STREAM_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-event-stream-${AWS_C_EVENT_STREAM_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
76 DownloadPackage(${AWS_C_EVENT_STREAM_MD5} ${AWS_C_EVENT_STREAM_URL} "${AWS_C_EVENT_STREAM_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
77 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
78 SET(AWS_C_HTTP_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-http-${AWS_C_HTTP_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
79 SET(AWS_C_HTTP_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-http-${AWS_C_HTTP_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
80 DownloadPackage(${AWS_C_HTTP_MD5} ${AWS_C_HTTP_URL} "${AWS_C_HTTP_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
81 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
82 SET(AWS_C_IO_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-io-${AWS_C_IO_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
83 SET(AWS_C_IO_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-io-${AWS_C_IO_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
84 DownloadPackage(${AWS_C_IO_MD5} ${AWS_C_IO_URL} "${AWS_C_IO_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
85 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
86 SET(AWS_C_MQTT_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-mqtt-${AWS_C_MQTT_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
87 SET(AWS_C_MQTT_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-mqtt-${AWS_C_MQTT_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
88 DownloadPackage(${AWS_C_MQTT_MD5} ${AWS_C_MQTT_URL} "${AWS_C_MQTT_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
89 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
90 SET(AWS_C_S3_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-s3-${AWS_C_S3_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
91 SET(AWS_C_S3_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-s3-${AWS_C_S3_VERSION}.tar.gz") |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
92 DownloadPackage(${AWS_C_S3_MD5} ${AWS_C_S3_URL} "${AWS_C_S3_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
93 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
94 SET(AWS_C_SDKUTILS_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-c-sdkutils-${AWS_C_SDKUTILS_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
95 SET(AWS_C_SDKUTILS_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-c-sdkutils-${AWS_C_SDKUTILS_VERSION}.tar.gz") |
107 | 96 DownloadPackage(${AWS_C_SDKUTILS_MD5} ${AWS_C_SDKUTILS_URL} "${AWS_C_SDKUTILS_SOURCES_DIR}") |
97 | |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
98 |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
99 SET(AWS_SDK_CPP_SOURCES_DIR ${CMAKE_BINARY_DIR}/aws-sdk-cpp-${AWS_SDK_CPP_VERSION}) |
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
100 SET(AWS_SDK_CPP_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/aws/aws-sdk-cpp-${AWS_SDK_CPP_VERSION}.tar.gz") |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
101 |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
102 if (IS_DIRECTORY "${AWS_SDK_CPP_SOURCES_DIR}") |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
103 set(FirstRun OFF) |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
104 else() |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
105 set(FirstRun ON) |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
106 endif() |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
107 |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
108 DownloadPackage(${AWS_SDK_CPP_MD5} ${AWS_SDK_CPP_URL} "${AWS_SDK_CPP_SOURCES_DIR}") |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
110 if (FirstRun) |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
111 # This is a patch for Microsoft Visual Studio 2015 |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
112 execute_process( |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
113 COMMAND ${PATCH_EXECUTABLE} -p0 -N -i |
154
e8ac39175eaf
added DownloadStaticPackages.sh for AWS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
150
diff
changeset
|
114 ${CMAKE_CURRENT_LIST_DIR}/aws-sdk-cpp-${AWS_SDK_CPP_VERSION}.patch |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
115 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
116 RESULT_VARIABLE Failure |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
117 ) |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
118 endif() |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
119 |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
120 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
121 configure_file( |
107 | 122 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/include/aws/core/SDKConfig.h.in |
123 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/include/aws/core/SDKConfig.h | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
124 ) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
125 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
126 configure_file( |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
127 ${AWS_C_COMMON_SOURCES_DIR}/include/aws/common/config.h.in |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
128 ${AWS_C_COMMON_SOURCES_DIR}/include/aws/common/config.h |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
129 ) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
130 |
107 | 131 configure_file( |
132 ${AWS_CRT_CPP_SOURCES_DIR}/include/aws/crt/Config.h.in | |
133 ${AWS_CRT_CPP_SOURCES_DIR}/include/aws/crt/Config.h | |
134 ) | |
135 | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
136 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
137 include_directories( |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
138 ${AWS_C_COMMON_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
139 ${AWS_C_AUTH_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
140 ${AWS_C_CAL_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
141 ${AWS_C_COMPRESSION_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
142 ${AWS_C_IO_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
143 ${AWS_C_HTTP_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
144 ${AWS_C_MQTT_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
145 ${AWS_C_S3_SOURCES_DIR}/include/ |
107 | 146 ${AWS_C_SDKUTILS_SOURCES_DIR}/include/ |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
147 ${AWS_C_EVENT_STREAM_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
148 ${AWS_CHECKSUMS_SOURCES_DIR}/include/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
149 ${AWS_CRT_CPP_SOURCES_DIR}/include/ |
107 | 150 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/include/ |
151 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-transfer/include/ | |
152 ${AWS_SDK_CPP_SOURCES_DIR}/generated/src/aws-cpp-sdk-s3/include/ | |
153 # ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-s3/include/ | |
154 # ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-connect/include/ | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
155 ) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
156 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
157 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
158 list(APPEND AWS_SOURCES_SUBDIRS |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
159 ${AWS_C_COMMON_SOURCES_DIR}/source/ |
107 | 160 ${AWS_C_COMMON_SOURCES_DIR}/source/external/ |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
161 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
162 ## C libraries |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
163 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
164 ${AWS_CHECKSUMS_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
165 ${AWS_C_AUTH_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
166 ${AWS_C_CAL_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
167 ${AWS_C_COMPRESSION_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
168 ${AWS_C_EVENT_STREAM_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
169 ${AWS_C_HTTP_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
170 ${AWS_C_IO_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
171 ${AWS_C_MQTT_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
172 ${AWS_C_S3_SOURCES_DIR}/source/ |
107 | 173 ${AWS_C_SDKUTILS_SOURCES_DIR}/source/ |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
174 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
175 ## C++ libraries |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
176 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
177 ${AWS_CRT_CPP_SOURCES_DIR}/source/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
178 ${AWS_CRT_CPP_SOURCES_DIR}/source/auth/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
179 ${AWS_CRT_CPP_SOURCES_DIR}/source/crypto/ |
107 | 180 ${AWS_CRT_CPP_SOURCES_DIR}/source/endpoints/ |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
181 ${AWS_CRT_CPP_SOURCES_DIR}/source/http/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
182 ${AWS_CRT_CPP_SOURCES_DIR}/source/io/ |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
183 ${AWS_CRT_CPP_SOURCES_DIR}/source/external/ |
107 | 184 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-connect/source/ |
185 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-connect/source/model/ | |
186 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/ | |
187 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/auth/ | |
188 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/auth/signer/ | |
189 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/auth/signer-provider/ | |
190 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/auth/bearer-token-provider/ | |
191 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/client/ | |
192 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/config/ | |
193 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/config/defaults/ | |
194 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/endpoint/ | |
195 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/endpoint/internal/ | |
196 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/external/cjson/ | |
197 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/external/tinyxml2/ | |
198 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/http/ | |
199 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/http/curl/ | |
200 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/http/standard/ | |
201 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/internal/ | |
202 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/monitoring/ | |
203 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/net/ | |
204 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/smithy/tracing/ | |
205 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/ | |
206 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/base64/ | |
207 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/component-registry/ | |
208 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/crypto/ | |
209 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/crypto/factory/ | |
210 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/crypto/openssl/ | |
211 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/event/ | |
212 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/json/ | |
213 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/logging/ | |
214 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/memory/ | |
215 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/memory/stl/ | |
216 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/stream/ | |
217 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/threading/ | |
218 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/utils/xml/ | |
219 ${AWS_SDK_CPP_SOURCES_DIR}/generated/src/aws-cpp-sdk-s3/source/ | |
220 ${AWS_SDK_CPP_SOURCES_DIR}/generated/src/aws-cpp-sdk-s3/source/model/ | |
221 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-transfer/source/transfer/ | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
222 ) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
223 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
224 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
225 add_definitions( |
57
ba1be668e475
fix initialization of the aws static library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
56
diff
changeset
|
226 -DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
227 -DBYO_CRYPTO # To have "aws_tls_server_ctx_new()" defined |
57
ba1be668e475
fix initialization of the aws static library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
56
diff
changeset
|
228 -DENABLE_OPENSSL_ENCRYPTION=1 |
ba1be668e475
fix initialization of the aws static library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
56
diff
changeset
|
229 -DENABLE_CURL_CLIENT=1 |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
230 ) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
231 |
142 | 232 if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
233 list(APPEND AWS_SOURCES_SUBDIRS | |
234 ${AWS_C_COMMON_SOURCES_DIR}/source/windows/ | |
235 ${AWS_C_IO_SOURCES_DIR}/source/windows/ | |
149 | 236 ${AWS_C_IO_SOURCES_DIR}/source/windows/iocp/ |
142 | 237 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/platform/windows/ |
238 ) | |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
239 |
149 | 240 add_definitions( |
241 -DAWS_USE_IO_COMPLETION_PORTS=1 | |
150
938aee2b5f69
disable "dllexport" in cJSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
149
diff
changeset
|
242 -DCJSON_AS4CPP_HIDE_SYMBOLS=1 # Disable "dllexport" in cJSON |
149 | 243 ) |
244 | |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
245 set(AWSSDK_LINK_LIBRARIES |
149 | 246 # secur32 |
146
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
247 ncrypt |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
248 shlwapi |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
249 userenv |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
250 version |
5decdf0f0ef7
trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
145
diff
changeset
|
251 ) |
142 | 252 else() |
253 list(APPEND AWS_SOURCES_SUBDIRS | |
254 #${AWS_C_CAL_SOURCES_DIR}/source/unix/ | |
255 #${AWS_SDK_CPP_SOURCES_DIR}/aws-cpp-sdk-core/source/net/linux-shared/ | |
256 ${AWS_C_COMMON_SOURCES_DIR}/source/posix/ | |
257 ${AWS_C_IO_SOURCES_DIR}/source/linux/ | |
258 ${AWS_C_IO_SOURCES_DIR}/source/posix/ | |
259 ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/platform/linux-shared/ | |
260 ) | |
261 endif() | |
56
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
262 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
263 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
264 foreach(d ${AWS_SOURCES_SUBDIRS}) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
265 aux_source_directory(${d} AWS_SOURCES) |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
266 endforeach() |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
267 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
268 |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
269 list(APPEND AWS_SOURCES |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
270 ${AWS_C_COMMON_SOURCES_DIR}/source/arch/generic/cpuid.c |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
271 ${AWS_CHECKSUMS_SOURCES_DIR}/source/generic/crc32c_null.c |
b922ae86bbe1
full static linking against AWS SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
272 ) |
148 | 273 |
274 | |
275 if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | |
276 list(REMOVE_ITEM AWS_SOURCES | |
277 # WARNING: "//" *is* important (don't replace it with "/") | |
278 ${AWS_C_IO_SOURCES_DIR}/source/windows//secure_channel_tls_handler.c | |
279 ) | |
280 endif() |