@@ -13,6 +13,7 @@ SET(PLATFORM_WINDOWS 0)
13
13
SET (PLATFORM_LINUX 0)
14
14
SET (PLATFORM_ANDROID 0)
15
15
SET (PLATFORM_APPLE 0)
16
+ SET (GENERATE_VERSION_INFO 0)
16
17
17
18
if ("${TARGET_ARCH} " STREQUAL "WINDOWS" )
18
19
SET (PLATFORM_WINDOWS 1)
@@ -99,7 +100,7 @@ elseif(PLATFORM_LINUX)
99
100
set (SDK_INSTALL_BINARY_PREFIX "linux" )
100
101
elseif (PLATFORM_ANDROID)
101
102
set (SDK_INSTALL_BINARY_PREFIX "android" )
102
- elseif (PLATFORM_MAC )
103
+ elseif (PLATFORM_APPLE )
103
104
set (SDK_INSTALL_BINARY_PREFIX "mac" )
104
105
endif ()
105
106
@@ -114,6 +115,7 @@ endif()
114
115
115
116
message (STATUS "Install binary prefix: ${SDK_INSTALL_BINARY_PREFIX} " )
116
117
118
+
117
119
if (BUILD_SHARED_LIBS )
118
120
SET (LIBTYPE SHARED)
119
121
if (PLATFORM_WINDOWS)
@@ -260,8 +262,8 @@ if(PLATFORM_ANDROID)
260
262
261
263
ExternalProject_Add(OPENSSL
262
264
SOURCE_DIR ${OPENSSL_SOURCE_DIR}
263
- URL http://www.openssl.org/source /openssl-1.0.2a .tar.gz
264
- URL_MD5 a06c547dac9044161a477211049f60ef
265
+ URL http://www.openssl.org/source /openssl-1.0.2d .tar.gz
266
+ URL_MD5 38dd619b2e77cbac69b99f52a053d25a
265
267
UPDATE_COMMAND cd ${CMAKE_SOURCE_DIR} && python android-build /configure_openssl_cmake.py # openssl does not have cmake files, this script fixes that
266
268
CMAKE_ARGS
267
269
-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE}
@@ -303,7 +305,7 @@ if(PLATFORM_ANDROID)
303
305
DEPENDS OPENSSL ZLIB
304
306
SOURCE_DIR ${CURL_SOURCE_DIR}
305
307
GIT_REPOSITORY https://github.com/bagder/curl.git
306
- GIT_TAG ff83742 # 7.41 .0
308
+ GIT_TAG 38e0788 # 7.43 .0
307
309
CMAKE_ARGS
308
310
-C ${CMAKE_SOURCE_DIR} /android-build /CurlAndroidCrossCompile.cmake
309
311
-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE}
@@ -330,6 +332,7 @@ endif()
330
332
if (PLATFORM_WINDOWS)
331
333
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi" )
332
334
set (CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF" )
335
+ set (CMAKE_STATIC_LINKER_FLAGS_RELEASE "${CMAKE_STATIC_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF" )
333
336
endif ()
334
337
335
338
# default libraries to link in per-platform
@@ -346,10 +349,7 @@ elseif(PLATFORM_ANDROID)
346
349
set (PLATFORM_DEP_LIBS curl ssl crypto ${ZLIB_LIBRARY_DIR} /${ZLIB_NAME} .a log atomic)
347
350
endif ()
348
351
349
- if (NOT BRAZIL_BUILD)
350
- set (GENERATE_VERSION_INFO 1)
351
- endif ()
352
-
352
+ #sdks
353
353
add_subdirectory (aws-cpp-sdk-core)
354
354
add_subdirectory (testing-resources)
355
355
add_subdirectory (aws-cpp-sdk-dynamodb)
@@ -359,14 +359,13 @@ add_subdirectory(aws-cpp-sdk-sqs)
359
359
add_subdirectory (aws-cpp-sdk-kinesis)
360
360
add_subdirectory (aws-cpp-sdk-lambda)
361
361
add_subdirectory (aws-cpp-sdk-s3)
362
- add_subdirectory (aws-cpp-sdk-elasticbeanstalk)
363
362
add_subdirectory (aws-cpp-sdk-mobileanalytics)
364
363
add_subdirectory (aws-cpp-sdk-elasticloadbalancing)
365
364
add_subdirectory (aws-cpp-sdk-opsworks)
366
365
add_subdirectory (aws-cpp-sdk-cloudfront)
367
366
add_subdirectory (aws-cpp-sdk-kms)
368
367
add_subdirectory (aws-cpp-sdk-codedeploy)
369
- # add_subdirectory(aws-cpp-sdk-redshift)
368
+ add_subdirectory (aws-cpp-sdk-redshift)
370
369
add_subdirectory (aws-cpp-sdk-iam)
371
370
add_subdirectory (aws-cpp-sdk-ecs)
372
371
add_subdirectory (aws-cpp-sdk-datapipeline)
@@ -388,6 +387,13 @@ add_subdirectory(aws-cpp-sdk-access-management)
388
387
add_subdirectory (aws-cpp-sdk-transfer)
389
388
add_subdirectory (aws-cpp-sdk-queues)
390
389
390
+ if (NOT PLATFORM_ANDROID)
391
+ # the EventSeverity::DEBUG entry doesn't compile on android because DEBUG is #defined
392
+ # ToDo: fix the client generator to map DEBUG to something else
393
+ add_subdirectory (aws-cpp-sdk-elasticbeanstalk)
394
+ endif ()
395
+
396
+ #testing
391
397
if (PLATFORM_ANDROID)
392
398
add_subdirectory (android-unified-tests)
393
399
else ()
@@ -400,6 +406,7 @@ else()
400
406
add_subdirectory (aws-cpp-sdk-identity-management-tests)
401
407
add_subdirectory (aws-cpp-sdk-logging-tests)
402
408
add_subdirectory (aws-cpp-sdk-transfer-tests)
409
+ add_subdirectory (aws-cpp-sdk-redshift-integration-tests)
403
410
404
411
if (PLATFORM_WINDOWS)
405
412
add_subdirectory (aws-cpp-sdk-wininet-winhttp-test )
0 commit comments