Skip to content

build dev 1.10 pr15 #2054

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

Merged
merged 2 commits into from
Aug 24, 2022
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
add_subdirectory(aws-cpp-sdk-core)
if (BUILD_TESTING)
add_subdirectory(aws-cpp-sdk-core-tests)
endif ()

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion src/aws-cpp-sdk-core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ if (NOT LEGACY_BUILD)
EXPORT_MACRO_NAME AWS_CORE_API # to be backward compatible during LEGACY_BUILD exist until 1.11
)


add_subdirectory(include)
add_subdirectory(source)
else ()
Expand Down
6 changes: 6 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if (BUILD_TESTING)
add_subdirectory(../tests/testing-resources)
add_subdirectory(../tests/aws-cpp-sdk-core-tests)
# Integration testing
add_subdirectory(aws-cpp-sdk-dynamodb-integration-tests)
endif ()
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if (NOT LEGACY_BUILD)
aws-sdk-cpp-core-test
GTest::GTest
aws-sdk-cpp::core
aws-sdk-cpp::testing-resources
aws-crt-cpp
)
target_sources(
Expand All @@ -17,7 +18,6 @@ if (NOT LEGACY_BUILD)
add_subdirectory(aws)
add_subdirectory(http)
add_subdirectory(monitoring)
add_subdirectory(testing-resources)
add_subdirectory(utils)

gtest_discover_tests(aws-sdk-cpp-core-test)
Expand All @@ -29,11 +29,11 @@ else ()

# Headers are included in the source so that they show up in Visual Studio.
# They are included elsewhere for consistency.
file(GLOB AWS_SRC "${CMAKE_CURRENT_SOURCE_DIR}/aws/*.cpp")
file(GLOB AWS_AUTH_SRC "${CMAKE_CURRENT_SOURCE_DIR}/aws/auth/*.cpp")
file(GLOB AWS_CONFIG_SRC "${CMAKE_CURRENT_SOURCE_DIR}/aws/config/*.cpp")
file(GLOB AWS_CLIENT_SRC "${CMAKE_CURRENT_SOURCE_DIR}/aws/client/*.cpp")
file(GLOB AWS_NET_SRC "${CMAKE_CURRENT_SOURCE_DIR}/aws/net/*.cpp")
file(GLOB AWS_SRC "aws/*.cpp")
file(GLOB AWS_AUTH_SRC "aws/auth/*.cpp")
file(GLOB AWS_CONFIG_SRC "aws/config/*.cpp")
file(GLOB AWS_CLIENT_SRC "aws/client/*.cpp")
file(GLOB AWS_NET_SRC "aws/net/*.cpp")
file(GLOB HTTP_SRC "${CMAKE_CURRENT_SOURCE_DIR}/http/*.cpp")
file(GLOB UTILS_SRC "${CMAKE_CURRENT_SOURCE_DIR}/utils/*.cpp")
file(GLOB UTILS_CRYPTO_SRC "${CMAKE_CURRENT_SOURCE_DIR}/utils/crypto/*.cpp")
Expand Down Expand Up @@ -131,7 +131,7 @@ else ()

add_custom_command(TARGET aws-cpp-sdk-core-tests PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/resources ${CMAKE_CURRENT_BINARY_DIR})
resources ${CMAKE_CURRENT_BINARY_DIR})

if (ENABLE_HTTP_CLIENT_TESTING)
add_definitions(-DENABLE_HTTP_CLIENT_TESTING)
Expand Down
Loading