mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 03:40:05 +00:00
Fix aws-sdk-cpp and Python build issues
This commit is contained in:
parent
899cb041e5
commit
f0dc01f7d2
2 changed files with 18 additions and 4 deletions
20
external/aws-sdk-cpp.cmake
vendored
20
external/aws-sdk-cpp.cmake
vendored
|
|
@ -8,12 +8,26 @@ set(ENABLE_TESTING OFF)
|
||||||
set(ENABLE_UNITY_BUILD ON)
|
set(ENABLE_UNITY_BUILD ON)
|
||||||
set(MINIMIZE_SIZE OFF)
|
set(MINIMIZE_SIZE OFF)
|
||||||
|
|
||||||
if(NOT CMAKE_EXE_LINKER_FLAGS_DEBUGOPT)
|
# Some variables also need set in the cache... set them all!
|
||||||
set(CMAKE_EXE_LINKER_FLAGS_DEBUGOPT "")
|
set(BUILD_ONLY "s3" CACHE STRING "A semi-colon delimited list of the projects to build")
|
||||||
endif()
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "If enabled, all aws sdk libraries will be build as shared objects; otherwise all Aws libraries will be built as static objects")
|
||||||
|
set(CPP_STANDARD "17" CACHE STRING "Flag to upgrade the C++ standard used. The default is 11. The minimum is 11.")
|
||||||
|
set(ENABLE_TESTING OFF CACHE BOOL "Flag to enable/disable building unit and integration tests")
|
||||||
|
set(ENABLE_UNITY_BUILD ON CACHE BOOL "If enabled, the SDK will be built using a single unified .cpp file for each service library. Reduces the size of static library binaries on Windows and Linux")
|
||||||
|
set(MINIMIZE_SIZE OFF CACHE BOOL "If enabled, the SDK will be built via a unity aggregation process that results in smaller static libraries; additionally, release binaries will favor size optimizations over speed")
|
||||||
|
|
||||||
|
# Save off ${CMAKE_CXX_FLAGS} before modifying compiler settings
|
||||||
|
set(CMAKE_CXX_FLAGS_PREV "${CMAKE_CXX_FLAGS}")
|
||||||
|
|
||||||
|
# Fix CMake errors for internal variables not set
|
||||||
|
include(aws-sdk-cpp/cmake/compiler_settings.cmake)
|
||||||
|
set_msvc_warnings()
|
||||||
|
|
||||||
add_subdirectory(aws-sdk-cpp)
|
add_subdirectory(aws-sdk-cpp)
|
||||||
|
|
||||||
|
# Restore ${CMAKE_CXX_FLAGS} now that aws-sdk-cpp has been added
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_PREV}")
|
||||||
|
|
||||||
set_target_properties(uninstall PROPERTIES EXCLUDE_FROM_ALL True)
|
set_target_properties(uninstall PROPERTIES EXCLUDE_FROM_ALL True)
|
||||||
|
|
||||||
set_target_properties(aws-c-auth PROPERTIES FOLDER aws-sdk-cpp)
|
set_target_properties(aws-c-auth PROPERTIES FOLDER aws-sdk-cpp)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@ pip install conan
|
||||||
pip install geopandas
|
pip install geopandas
|
||||||
pip install GitPython
|
pip install GitPython
|
||||||
pip install sphinx
|
pip install sphinx
|
||||||
pip install sphinx_rtd_theme
|
pip install sphinx-rtd-theme
|
||||||
pip install breathe
|
pip install breathe
|
||||||
conan profile new default --detect
|
conan profile new default --detect
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue