Skip to content

Updating Fork with Latest AWS Changes #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AWSSDKCPPConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(AWSSDKCPP_INCLUDE_DIR @CONFIG_INCLUDE_DIR@)
set(AWSSDKCPP_LIBRARY_DIRS @CONFIG_LIB_DIRS@)
set(AWSSDKCPP_LIBRARIES @AWS_INSTALLED_LIBS@)
11 changes: 11 additions & 0 deletions AWSSDKCPPConfigVersion.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
set(PACKAGE_VERSION @AWSSDKCPP_VERSION@)

# Check whether the requested PACKAGE_FIND_VERSION is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()
14 changes: 12 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
# minimum version of cmake that
# (1) supports ExternalProject_Add URL_HASH
# (2) correctly extracts OPENSSL's version number from openssl/opensslv.h in version 1.0.2d
cmake_minimum_required (VERSION 3.1.2)
cmake_minimum_required (VERSION 2.8)

# Cmake invocation variables:
# CUSTOM_MEMORY_MANAGEMENT - if set to 1, generates the sdk project files with custom memory management enabled, otherwise disables it
# STATIC_LINKING - if set to 1, generates the sdk project files to build static libraries, otherwise disables it
# NO_HTTP_CLIENT - if set to 1, will not include any platform-specific http client implementations; you will need to provide one

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

set(AWS_INSTALLED_LIBS "")
# there isn't a reliable way of detecting what architecture we want to build for in a cross-compiling environment, so force the user
# to specify on the command line. Since testing string equality is ugly and awkward in cmake, we use the specified architecture
# to conditionally set a symbol to 1 so that we can continue to just do "if (SYMBOL)" for our conditional execution
Expand Down Expand Up @@ -499,3 +499,13 @@ endif()
if(BUILD_EXAMPLES)
add_subdirectory(aws-cpp-sdk-example1)
endif()

set(AWSSDKCPP_VERSION "0.0.1")
configure_file(${PROJECT_SOURCE_DIR}/AWSSDKCPPConfigVersion.cmake.in ${PROJECT_BINARY_DIR}/AWSSDKCPPConfigVersion.cmake @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/AWSSDKCPPConfigVersion.cmake DESTINATION "share")

set(CONFIG_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include")
set(CONFIG_LIB_DIRS "${CMAKE_INSTALL_PREFIX}/lib/${SDK_INSTALL_BINARY_PREFIX}/${CMAKE_BUILD_TYPE}")

configure_file(${PROJECT_SOURCE_DIR}/AWSSDKCPPConfig.cmake.in ${PROJECT_BINARY_DIR}/AWSSDKCPPConfig.cmake @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/AWSSDKCPPConfig.cmake DESTINATION "share")
2 changes: 2 additions & 0 deletions aws-cpp-sdk-access-management/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ endif()

add_library(aws-cpp-sdk-access-management ${LIBTYPE} ${ACCESS_MANAGEMENT_SRC})
target_link_libraries(aws-cpp-sdk-access-management aws-cpp-sdk-cognito-identity aws-cpp-sdk-iam)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-access-management")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

install (TARGETS aws-cpp-sdk-access-management
ARCHIVE DESTINATION ${ARCHIVE_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}
Expand Down
3 changes: 3 additions & 0 deletions aws-cpp-sdk-autoscaling/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ project(aws-cpp-sdk-autoscaling)
add_library(aws-cpp-sdk-autoscaling ${LIBTYPE} ${AUTOSCALING_SRC})
target_link_libraries(aws-cpp-sdk-autoscaling aws-cpp-sdk-core)

list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-autoscaling")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
endif()
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-cloudformation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-cloudformation)

add_library(aws-cpp-sdk-cloudformation ${LIBTYPE} ${CLOUDFORMATION_SRC})
target_link_libraries(aws-cpp-sdk-cloudformation aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-cloudformation")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
1 change: 1 addition & 0 deletions aws-cpp-sdk-cloudfront-integration-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ endif()

target_link_libraries(runCloudfrontIntegrationTests aws-cpp-sdk-cloudfront testing-resources)
copyDlls(runCloudfrontIntegrationTests aws-cpp-sdk-core aws-cpp-sdk-cloudfront testing-resources)

2 changes: 2 additions & 0 deletions aws-cpp-sdk-cloudfront/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-cloudfront)

add_library(aws-cpp-sdk-cloudfront ${LIBTYPE} ${CLOUDFRONT_SRC})
target_link_libraries(aws-cpp-sdk-cloudfront aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-cloudfront")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-codedeploy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-codedeploy)

add_library(aws-cpp-sdk-codedeploy ${LIBTYPE} ${CODEDEPLOY_SRC})
target_link_libraries(aws-cpp-sdk-codedeploy aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-codedeploy")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
3 changes: 3 additions & 0 deletions aws-cpp-sdk-cognito-identity/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ project(aws-cpp-sdk-cognito-identity)

add_library(aws-cpp-sdk-cognito-identity ${LIBTYPE} ${COGNITO-IDENTITY_SRC})
target_link_libraries(aws-cpp-sdk-cognito-identity aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-cognito-identity")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)


if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
3 changes: 3 additions & 0 deletions aws-cpp-sdk-cognito-sync/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ project(aws-cpp-sdk-cognito-sync)

add_library(aws-cpp-sdk-cognito-sync ${LIBTYPE} ${COGNITO-SYNC_SRC})
target_link_libraries(aws-cpp-sdk-cognito-sync aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-cognito-sync")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)


if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ if(PLATFORM_ANDROID)
endif()

add_library(aws-cpp-sdk-core ${LIBTYPE} ${AWSNativeSDK_SRC})
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-core")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(PLATFORM_ANDROID)
if(ENABLE_CURL_CLIENT)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-datapipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-datapipeline)

add_library(aws-cpp-sdk-datapipeline ${LIBTYPE} ${DATAPIPELINE_SRC})
target_link_libraries(aws-cpp-sdk-datapipeline aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-datapipeline")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-dynamodb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-dynamodb)

add_library(aws-cpp-sdk-dynamodb ${LIBTYPE} ${DYNAMODB_SRC})
target_link_libraries(aws-cpp-sdk-dynamodb aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-dynamodb")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-ec2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-ec2)

add_library(aws-cpp-sdk-ec2 ${LIBTYPE} ${EC2_SRC})
target_link_libraries(aws-cpp-sdk-ec2 aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-ec2")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-ecs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-ecs)

add_library(aws-cpp-sdk-ecs ${LIBTYPE} ${ECS_SRC})
target_link_libraries(aws-cpp-sdk-ecs aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-ecs")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-elasticache/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-elasticache)

add_library(aws-cpp-sdk-elasticache ${LIBTYPE} ${ELASTICACHE_SRC})
target_link_libraries(aws-cpp-sdk-elasticache aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-elasticache")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-elasticbeanstalk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-elasticbeanstalk)

add_library(aws-cpp-sdk-elasticbeanstalk ${LIBTYPE} ${ELASTICBEANSTALK_SRC})
target_link_libraries(aws-cpp-sdk-elasticbeanstalk aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-elasticbeanstalk")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-elasticloadbalancing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-elasticloadbalancing)

add_library(aws-cpp-sdk-elasticloadbalancing ${LIBTYPE} ${ELASTICLOADBALANCING_SRC})
target_link_libraries(aws-cpp-sdk-elasticloadbalancing aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-elasticloadbalancing")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-elasticmapreduce/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-elasticmapreduce)

add_library(aws-cpp-sdk-elasticmapreduce ${LIBTYPE} ${ELASTICMAPREDUCE_SRC})
target_link_libraries(aws-cpp-sdk-elasticmapreduce aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-elasticmapreduce")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-elastictranscoder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-elastictranscoder)

add_library(aws-cpp-sdk-elastictranscoder ${LIBTYPE} ${ELASTICTRANSCODER_SRC})
target_link_libraries(aws-cpp-sdk-elastictranscoder aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-elastictranscoder")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-email/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-email)

add_library(aws-cpp-sdk-email ${LIBTYPE} ${EMAIL_SRC})
target_link_libraries(aws-cpp-sdk-email aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-email")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-glacier/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-glacier)

add_library(aws-cpp-sdk-glacier ${LIBTYPE} ${GLACIER_SRC})
target_link_libraries(aws-cpp-sdk-glacier aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-glacier")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-iam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-iam)

add_library(aws-cpp-sdk-iam ${LIBTYPE} ${IAM_SRC})
target_link_libraries(aws-cpp-sdk-iam aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-iam")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
4 changes: 3 additions & 1 deletion aws-cpp-sdk-identity-management/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ endif()

add_library(aws-cpp-sdk-identity-management ${LIBTYPE} ${IDENTITY_MGMT_SRC})
target_link_libraries(aws-cpp-sdk-identity-management aws-cpp-sdk-cognito-identity)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-identity-management")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

install (TARGETS aws-cpp-sdk-identity-management
ARCHIVE DESTINATION ${ARCHIVE_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}
LIBRARY DESTINATION lib/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}
RUNTIME DESTINATION bin/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME})

install (FILES ${AWS_IDENTITY_HEADERS} DESTINATION include/aws/identity-management)
install (FILES ${AWS_IDENTITY_PROVIDER_HEADERS} DESTINATION include/aws/identity-management/auth)
install (FILES ${AWS_IDENTITY_PROVIDER_HEADERS} DESTINATION include/aws/identity-management/auth)
2 changes: 2 additions & 0 deletions aws-cpp-sdk-kinesis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-kinesis)

add_library(aws-cpp-sdk-kinesis ${LIBTYPE} ${KINESIS_SRC})
target_link_libraries(aws-cpp-sdk-kinesis aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-kinesis")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-kms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-kms)

add_library(aws-cpp-sdk-kms ${LIBTYPE} ${KMS_SRC})
target_link_libraries(aws-cpp-sdk-kms aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-kms")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-lambda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-lambda)

add_library(aws-cpp-sdk-lambda ${LIBTYPE} ${LAMBDA_SRC})
target_link_libraries(aws-cpp-sdk-lambda aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-lambda")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-logs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-logs)

add_library(aws-cpp-sdk-logs ${LIBTYPE} ${LOGS_SRC})
target_link_libraries(aws-cpp-sdk-logs aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-logs")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-mobileanalytics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-mobileanalytics)

add_library(aws-cpp-sdk-mobileanalytics ${LIBTYPE} ${MOBILEANALYTICS_SRC})
target_link_libraries(aws-cpp-sdk-mobileanalytics aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-mobileanalytics")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-monitoring/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-monitoring)

add_library(aws-cpp-sdk-monitoring ${LIBTYPE} ${MONITORING_SRC})
target_link_libraries(aws-cpp-sdk-monitoring aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-monitoring")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-opsworks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-opsworks)

add_library(aws-cpp-sdk-opsworks ${LIBTYPE} ${OPSWORKS_SRC})
target_link_libraries(aws-cpp-sdk-opsworks aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-opsworks")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
4 changes: 3 additions & 1 deletion aws-cpp-sdk-queues/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ endif()

add_library(aws-cpp-sdk-queues ${LIBTYPE} ${QUEUES_SRC})
target_link_libraries(aws-cpp-sdk-queues aws-cpp-sdk-sqs)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-queues")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

install (TARGETS aws-cpp-sdk-queues
ARCHIVE DESTINATION ${ARCHIVE_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}
LIBRARY DESTINATION lib/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}
RUNTIME DESTINATION bin/${SDK_INSTALL_BINARY_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME})

install (FILES ${AWS_QUEUES_HEADERS} DESTINATION include/aws/queues)
install (FILES ${AWS_SQS_QUEUES_HEADERS} DESTINATION include/aws/queues/sqs)
install (FILES ${AWS_SQS_QUEUES_HEADERS} DESTINATION include/aws/queues/sqs)
2 changes: 2 additions & 0 deletions aws-cpp-sdk-rds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-rds)

add_library(aws-cpp-sdk-rds ${LIBTYPE} ${RDS_SRC})
target_link_libraries(aws-cpp-sdk-rds aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-rds")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-redshift/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-redshift)

add_library(aws-cpp-sdk-redshift ${LIBTYPE} ${REDSHIFT_SRC})
target_link_libraries(aws-cpp-sdk-redshift aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-redshift")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-s3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-s3)

add_library(aws-cpp-sdk-s3 ${LIBTYPE} ${S3_SRC})
target_link_libraries(aws-cpp-sdk-s3 aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-s3")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-sdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-sdb)

add_library(aws-cpp-sdk-sdb ${LIBTYPE} ${SDB_SRC})
target_link_libraries(aws-cpp-sdk-sdb aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-sdb")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-sns/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-sns)

add_library(aws-cpp-sdk-sns ${LIBTYPE} ${SNS_SRC})
target_link_libraries(aws-cpp-sdk-sns aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-sns")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-sqs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-sqs)

add_library(aws-cpp-sdk-sqs ${LIBTYPE} ${SQS_SRC})
target_link_libraries(aws-cpp-sdk-sqs aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-sqs")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
2 changes: 2 additions & 0 deletions aws-cpp-sdk-sts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ project(aws-cpp-sdk-sts)

add_library(aws-cpp-sdk-sts ${LIBTYPE} ${STS_SRC})
target_link_libraries(aws-cpp-sdk-sts aws-cpp-sdk-core)
list(APPEND AWS_INSTALLED_LIBS "aws-cpp-sdk-sts")
set(AWS_INSTALLED_LIBS "${AWS_INSTALLED_LIBS}" PARENT_SCOPE)

if(NOT MSVC)
add_definitions(-std=c++11)
Expand Down
Loading