Closed
Description
Describe the bug
Hi,
How to use with CPM (cmake package manager)?
Im using this but it include entire SDK and not only S3:
# --- AWS SDK configuration ---
CPMAddPackage(
NAME aws-sdk-cpp
GITHUB_REPOSITORY aws/aws-sdk-cpp
GIT_TAG "1.11.505"
OPTIONS
"BUILD_ONLY='core;s3'"
"DISABLE_ALL_SERVICES ON"
"ENABLE_TESTING OFF"
"BUILD_SHARED_LIBS OFF"
"ENABLE_UNITY_BUILD ON"
"MINIMIZE_SIZE ON"
"NO_ENCRYPTION OFF"
"NO_HTTP_CLIENT OFF"
"USE_OPENSSL ON"
"USE_TLS_V1_2 ON"
"USE_TLS_V1_3 OFF"
"FORCE_SHARED_CRT OFF"
)
# --- Executable ---
add_executable(FTPServerS3 main.cpp)
# --- Linking libraries ---
target_link_libraries(FTPServerS3 PRIVATE aws-cpp-sdk-core aws-cpp-sdk-s3)
Can anyone help me?
Thanks.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Build only the selected libraries
Current Behavior
Building the role SDK
Reproduction Steps
rm -rf build/
mkdir -p build/
cd build &&
cmake ../ &&
make
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.505
Compiler and Version used
Apple clang version 16.0.0 (clang-1600.0.26.6)
Operating System and version
macos