Spaces:
Sleeping
Sleeping
4be7042d76a7c151dd8baa326502bccfee82765d14c5d0c4b41e569d06577c4b
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-c-s3/fix-cmake-target-path.patch +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-c-s3/portfile.cmake +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-c-s3/vcpkg.json +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-checksums/fix-cmake-target-path.patch +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-checksums/portfile.cmake +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-checksums/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/fix-cmake-target-path.patch +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/fix-ios-build.patch +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/portfile.cmake +44 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/vcpkg.json +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-lambda-cpp/portfile.cmake +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-lambda-cpp/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/compute_build_only.cmake +835 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/fix-aws-root.patch +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/fix-openssl3.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/generateFeatures.ps1 +73 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/patch-relocatable-rpath.patch +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/portfile.cmake +100 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/usage +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/vcpkg.json +870 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azmq/portfile.cmake +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azmq/vcpkg.json +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/disable-error.patch +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-install-location-preview.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-install-location.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-utilityFunctions-conditions-preview.patch +248 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-utilityFunctions-conditions.patch +256 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/improve-dependencies-preview.patch +68 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/improve-dependencies.patch +67 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/openssl.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/portfile.cmake +53 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/vcpkg.json +56 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-core-cpp/portfile.cmake +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-core-cpp/vcpkg.json +76 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-identity-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-identity-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/fix-install-location.patch +40 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/fix-iothubclient-includes.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/improve-external-deps-preview.patch +112 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/improve-external-deps.patch +79 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/portfile.cmake +58 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/vcpkg.json +71 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-build-imgui.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-builds.patch +618 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-calibration-c.patch +70 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-dependency-imgui.patch +35 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-linux.patch +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/k4adeploy.ps1 +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/portfile.cmake +91 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/vcpkg.json +53 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-c-s3/fix-cmake-target-path.patch
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 318b299..43f6d31 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -104,7 +104,7 @@ else()
|
| 6 |
+
endif()
|
| 7 |
+
|
| 8 |
+
install(EXPORT "${PROJECT_NAME}-targets"
|
| 9 |
+
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/"
|
| 10 |
+
+ DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
| 11 |
+
NAMESPACE AWS::
|
| 12 |
+
COMPONENT Development)
|
| 13 |
+
|
| 14 |
+
diff --git a/cmake/aws-c-s3-config.cmake b/cmake/aws-c-s3-config.cmake
|
| 15 |
+
index eb62a4b..24debd9 100644
|
| 16 |
+
--- a/cmake/aws-c-s3-config.cmake
|
| 17 |
+
+++ b/cmake/aws-c-s3-config.cmake
|
| 18 |
+
@@ -3,8 +3,4 @@ include(CMakeFindDependencyMacro)
|
| 19 |
+
find_dependency(aws-c-auth)
|
| 20 |
+
find_dependency(aws-c-http)
|
| 21 |
+
|
| 22 |
+
-if (BUILD_SHARED_LIBS)
|
| 23 |
+
- include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
|
| 24 |
+
-else()
|
| 25 |
+
- include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
|
| 26 |
+
-endif()
|
| 27 |
+
+include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
|
| 28 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-c-s3/portfile.cmake
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO awslabs/aws-c-s3
|
| 4 |
+
REF e38bdad12bd4c618e8d10489374d87e6ae3f7a19 # v0.1.25
|
| 5 |
+
SHA512 1ed3313419416ce28373968cb692cf67230b1efced4e187cd5047b146db3bc769dc283dff1af2e41b05ad6f50cbeea58718a34945a93645abacca2515f2a6cf1
|
| 6 |
+
HEAD_REF master
|
| 7 |
+
PATCHES fix-cmake-target-path.patch
|
| 8 |
+
)
|
| 9 |
+
|
| 10 |
+
vcpkg_cmake_configure(
|
| 11 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 12 |
+
OPTIONS
|
| 13 |
+
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
|
| 14 |
+
-DBUILD_TESTING=FALSE
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
vcpkg_cmake_install()
|
| 18 |
+
|
| 19 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-c-s3/cmake)
|
| 20 |
+
|
| 21 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
| 22 |
+
file(REMOVE_RECURSE
|
| 23 |
+
"${CURRENT_PACKAGES_DIR}/bin"
|
| 24 |
+
"${CURRENT_PACKAGES_DIR}/debug/bin"
|
| 25 |
+
)
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
file(REMOVE_RECURSE
|
| 29 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
| 30 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/aws-c-s3"
|
| 31 |
+
"${CURRENT_PACKAGES_DIR}/lib/aws-c-s3"
|
| 32 |
+
)
|
| 33 |
+
|
| 34 |
+
vcpkg_copy_pdbs()
|
| 35 |
+
|
| 36 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 37 |
+
|
| 38 |
+
# Handle copyright
|
| 39 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-c-s3/vcpkg.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "aws-c-s3",
|
| 3 |
+
"version": "0.1.25",
|
| 4 |
+
"port-version": 2,
|
| 5 |
+
"description": "C99 library implementation for communicating with the S3 service, designed for maximizing throughput on high bandwidth EC2 instances.",
|
| 6 |
+
"homepage": "https://github.com/awslabs/aws-c-s3",
|
| 7 |
+
"supports": "!(windows & arm) & !uwp",
|
| 8 |
+
"dependencies": [
|
| 9 |
+
"aws-c-auth",
|
| 10 |
+
"aws-c-cal",
|
| 11 |
+
"aws-c-common",
|
| 12 |
+
"aws-c-compression",
|
| 13 |
+
"aws-c-http",
|
| 14 |
+
"aws-c-io",
|
| 15 |
+
{
|
| 16 |
+
"name": "s2n",
|
| 17 |
+
"platform": "!uwp & !windows"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"name": "vcpkg-cmake",
|
| 21 |
+
"host": true
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name": "vcpkg-cmake-config",
|
| 25 |
+
"host": true
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-checksums/fix-cmake-target-path.patch
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 888742b..efdd817 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -140,7 +140,7 @@ else()
|
| 6 |
+
endif()
|
| 7 |
+
|
| 8 |
+
install(EXPORT "${PROJECT_NAME}-targets"
|
| 9 |
+
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}"
|
| 10 |
+
+ DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
| 11 |
+
NAMESPACE AWS::
|
| 12 |
+
COMPONENT Development)
|
| 13 |
+
|
| 14 |
+
diff --git a/cmake/aws-checksums-config.cmake b/cmake/aws-checksums-config.cmake
|
| 15 |
+
index 6de2e44..84d55d1 100644
|
| 16 |
+
--- a/cmake/aws-checksums-config.cmake
|
| 17 |
+
+++ b/cmake/aws-checksums-config.cmake
|
| 18 |
+
@@ -1,6 +1,2 @@
|
| 19 |
+
-if (BUILD_SHARED_LIBS)
|
| 20 |
+
- include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
|
| 21 |
+
-else()
|
| 22 |
+
- include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
|
| 23 |
+
-endif()
|
| 24 |
+
+include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
|
| 25 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-checksums/portfile.cmake
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO awslabs/aws-checksums
|
| 4 |
+
REF 99bb0ad4b89d335d638536694352c45e0d2188f5 # v0.1.11
|
| 5 |
+
SHA512 cb9c249496fd41fda1efb9330e823d8b965adca6c8f372a50fe97eda821e277780bf9af8f5977102c44121568993cca55edbb750967b41f323e07e06a93c50a8
|
| 6 |
+
HEAD_REF master
|
| 7 |
+
PATCHES fix-cmake-target-path.patch
|
| 8 |
+
)
|
| 9 |
+
|
| 10 |
+
if (VCPKG_CRT_LINKAGE STREQUAL static)
|
| 11 |
+
set(STATIC_CRT_LNK ON)
|
| 12 |
+
else()
|
| 13 |
+
set(STATIC_CRT_LNK OFF)
|
| 14 |
+
endif()
|
| 15 |
+
|
| 16 |
+
vcpkg_cmake_configure(
|
| 17 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 18 |
+
OPTIONS
|
| 19 |
+
-DSTATIC_CRT=${STATIC_CRT_LNK}
|
| 20 |
+
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
|
| 21 |
+
-DBUILD_TESTING=FALSE
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
vcpkg_cmake_install()
|
| 25 |
+
|
| 26 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-checksums/cmake)
|
| 27 |
+
|
| 28 |
+
file(REMOVE_RECURSE
|
| 29 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
| 30 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/aws-checksums"
|
| 31 |
+
"${CURRENT_PACKAGES_DIR}/lib/aws-checksums"
|
| 32 |
+
)
|
| 33 |
+
|
| 34 |
+
vcpkg_copy_pdbs()
|
| 35 |
+
|
| 36 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 37 |
+
|
| 38 |
+
# Handle copyright
|
| 39 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-checksums/vcpkg.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "aws-checksums",
|
| 3 |
+
"version": "0.1.11",
|
| 4 |
+
"port-version": 3,
|
| 5 |
+
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
|
| 6 |
+
"homepage": "https://github.com/awslabs/aws-checksums",
|
| 7 |
+
"supports": "!(windows & arm)",
|
| 8 |
+
"dependencies": [
|
| 9 |
+
"aws-c-common",
|
| 10 |
+
{
|
| 11 |
+
"name": "vcpkg-cmake",
|
| 12 |
+
"host": true
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"name": "vcpkg-cmake-config",
|
| 16 |
+
"host": true
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/fix-cmake-target-path.patch
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 4d935e2..7b0501c 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -338,7 +338,7 @@ else()
|
| 6 |
+
endif()
|
| 7 |
+
|
| 8 |
+
install(EXPORT "${PROJECT_NAME}-targets"
|
| 9 |
+
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}/cmake/${TARGET_DIR}"
|
| 10 |
+
+ DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
| 11 |
+
NAMESPACE AWS::
|
| 12 |
+
COMPONENT Development)
|
| 13 |
+
|
| 14 |
+
diff --git a/cmake/aws-crt-cpp-config.cmake b/cmake/aws-crt-cpp-config.cmake
|
| 15 |
+
index 4b20a07..faac626 100644
|
| 16 |
+
--- a/cmake/aws-crt-cpp-config.cmake
|
| 17 |
+
+++ b/cmake/aws-crt-cpp-config.cmake
|
| 18 |
+
@@ -7,8 +7,4 @@ find_dependency(aws-c-auth)
|
| 19 |
+
find_dependency(aws-c-event-stream)
|
| 20 |
+
find_dependency(aws-c-s3)
|
| 21 |
+
|
| 22 |
+
-if (BUILD_SHARED_LIBS)
|
| 23 |
+
- include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
|
| 24 |
+
-else ()
|
| 25 |
+
- include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
|
| 26 |
+
-endif()
|
| 27 |
+
+include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
|
| 28 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/fix-ios-build.patch
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/source/io/TlsOptions.cpp b/source/io/TlsOptions.cpp
|
| 2 |
+
--- a/source/io/TlsOptions.cpp (revision 9ef58ff20df19e613c91c5f761e381c763da6810)
|
| 3 |
+
+++ b/source/io/TlsOptions.cpp (date 1635309758483)
|
| 4 |
+
@@ -90,7 +90,7 @@
|
| 5 |
+
return ctxOptions;
|
| 6 |
+
}
|
| 7 |
+
#endif /* !AWS_OS_IOS */
|
| 8 |
+
-#if defined(AWS_OS_APPLE)
|
| 9 |
+
+#if defined(AWS_OS_MACOS)
|
| 10 |
+
TlsContextOptions TlsContextOptions::InitClientWithMtlsPkcs12(
|
| 11 |
+
const char *pkcs12Path,
|
| 12 |
+
const char *pkcs12Pwd,
|
| 13 |
+
@@ -111,7 +111,7 @@
|
| 14 |
+
AWS_ASSERT(m_isInit);
|
| 15 |
+
return aws_tls_ctx_options_set_keychain_path(&m_options, &keychain_path) == 0;
|
| 16 |
+
}
|
| 17 |
+
-#endif /* AWS_OS_APPLE */
|
| 18 |
+
+#endif /* AWS_OS_MACOS */
|
| 19 |
+
|
| 20 |
+
#ifdef _WIN32
|
| 21 |
+
TlsContextOptions TlsContextOptions::InitClientWithMtlsSystemPath(
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/portfile.cmake
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO awslabs/aws-crt-cpp
|
| 4 |
+
REF 9ef58ff20df19e613c91c5f761e381c763da6810 # v0.15.1
|
| 5 |
+
SHA512 3409b3e6a546ed585b90180807383e8731b36b0db149b5ff92701a43164c4282b1cea4a551bf4c7b1edec7b264098575cf919faee8a2520bb10bbae62258d463
|
| 6 |
+
PATCHES
|
| 7 |
+
fix-cmake-target-path.patch
|
| 8 |
+
fix-ios-build.patch
|
| 9 |
+
)
|
| 10 |
+
|
| 11 |
+
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)
|
| 12 |
+
|
| 13 |
+
vcpkg_cmake_configure(
|
| 14 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 15 |
+
DISABLE_PARALLEL_CONFIGURE
|
| 16 |
+
OPTIONS
|
| 17 |
+
"-DSTATIC_CRT=${STATIC_CRT}"
|
| 18 |
+
-DBUILD_DEPS=OFF
|
| 19 |
+
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
|
| 20 |
+
-DBUILD_TESTING=FALSE
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
vcpkg_cmake_install()
|
| 24 |
+
|
| 25 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-crt-cpp/cmake)
|
| 26 |
+
|
| 27 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
| 28 |
+
file(REMOVE_RECURSE
|
| 29 |
+
"${CURRENT_PACKAGES_DIR}/bin"
|
| 30 |
+
"${CURRENT_PACKAGES_DIR}/debug/bin"
|
| 31 |
+
)
|
| 32 |
+
endif()
|
| 33 |
+
|
| 34 |
+
file(REMOVE_RECURSE
|
| 35 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
| 36 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/aws-crt-cpp"
|
| 37 |
+
"${CURRENT_PACKAGES_DIR}/lib/aws-crt-cpp"
|
| 38 |
+
)
|
| 39 |
+
|
| 40 |
+
vcpkg_copy_pdbs()
|
| 41 |
+
|
| 42 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 43 |
+
|
| 44 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-crt-cpp/vcpkg.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "aws-crt-cpp",
|
| 3 |
+
"version": "0.15.1",
|
| 4 |
+
"port-version": 3,
|
| 5 |
+
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
|
| 6 |
+
"homepage": "https://github.com/awslabs/aws-crt-cpp",
|
| 7 |
+
"supports": "!(windows & arm) & !uwp",
|
| 8 |
+
"dependencies": [
|
| 9 |
+
"aws-c-auth",
|
| 10 |
+
"aws-c-cal",
|
| 11 |
+
"aws-c-common",
|
| 12 |
+
"aws-c-compression",
|
| 13 |
+
"aws-c-event-stream",
|
| 14 |
+
"aws-c-http",
|
| 15 |
+
"aws-c-io",
|
| 16 |
+
"aws-c-mqtt",
|
| 17 |
+
"aws-c-s3",
|
| 18 |
+
"aws-checksums",
|
| 19 |
+
{
|
| 20 |
+
"name": "s2n",
|
| 21 |
+
"platform": "!uwp & !windows"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name": "vcpkg-cmake",
|
| 25 |
+
"host": true
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "vcpkg-cmake-config",
|
| 29 |
+
"host": true
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-lambda-cpp/portfile.cmake
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO awslabs/aws-lambda-cpp
|
| 4 |
+
REF 8bcd8a201f9da613581a2748ca737ab09adbdae5 # v0.2.7
|
| 5 |
+
SHA512 c59310dd839622cfc9ac2a1df5a492e9a6d629b671ed929813dbe51dfe76d4a4e381e78b11b206b66c2bee131a1544c3c8dfc4644981b708b589492763c7ed59
|
| 6 |
+
HEAD_REF master
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
vcpkg_cmake_configure(
|
| 10 |
+
SOURCE_PATH ${SOURCE_PATH}
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
+
vcpkg_cmake_install()
|
| 14 |
+
|
| 15 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
| 16 |
+
|
| 17 |
+
vcpkg_copy_pdbs()
|
| 18 |
+
|
| 19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME aws-lambda-runtime CONFIG_PATH lib/aws-lambda-runtime/cmake)
|
| 20 |
+
|
| 21 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 22 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/aws-lambda-runtime")
|
| 23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/aws-lambda-runtime")
|
| 24 |
+
|
| 25 |
+
# Handle copyright
|
| 26 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-lambda-cpp/vcpkg.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "aws-lambda-cpp",
|
| 3 |
+
"version": "0.2.7",
|
| 4 |
+
"port-version": 1,
|
| 5 |
+
"description": "C++ Runtime for AWS Lambda.",
|
| 6 |
+
"supports": "linux",
|
| 7 |
+
"dependencies": [
|
| 8 |
+
"curl",
|
| 9 |
+
{
|
| 10 |
+
"name": "vcpkg-cmake",
|
| 11 |
+
"host": true
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"name": "vcpkg-cmake-config",
|
| 15 |
+
"host": true
|
| 16 |
+
}
|
| 17 |
+
]
|
| 18 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/compute_build_only.cmake
ADDED
|
@@ -0,0 +1,835 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automatically generated by generateFeatures.ps1
|
| 2 |
+
if("access-management" IN_LIST FEATURES)
|
| 3 |
+
list(APPEND BUILD_ONLY access-management)
|
| 4 |
+
endif()
|
| 5 |
+
if("accessanalyzer" IN_LIST FEATURES)
|
| 6 |
+
list(APPEND BUILD_ONLY accessanalyzer)
|
| 7 |
+
endif()
|
| 8 |
+
if("acm" IN_LIST FEATURES)
|
| 9 |
+
list(APPEND BUILD_ONLY acm)
|
| 10 |
+
endif()
|
| 11 |
+
if("acm-pca" IN_LIST FEATURES)
|
| 12 |
+
list(APPEND BUILD_ONLY acm-pca)
|
| 13 |
+
endif()
|
| 14 |
+
if("alexaforbusiness" IN_LIST FEATURES)
|
| 15 |
+
list(APPEND BUILD_ONLY alexaforbusiness)
|
| 16 |
+
endif()
|
| 17 |
+
if("amp" IN_LIST FEATURES)
|
| 18 |
+
list(APPEND BUILD_ONLY amp)
|
| 19 |
+
endif()
|
| 20 |
+
if("amplify" IN_LIST FEATURES)
|
| 21 |
+
list(APPEND BUILD_ONLY amplify)
|
| 22 |
+
endif()
|
| 23 |
+
if("amplifybackend" IN_LIST FEATURES)
|
| 24 |
+
list(APPEND BUILD_ONLY amplifybackend)
|
| 25 |
+
endif()
|
| 26 |
+
if("apigateway" IN_LIST FEATURES)
|
| 27 |
+
list(APPEND BUILD_ONLY apigateway)
|
| 28 |
+
endif()
|
| 29 |
+
if("apigatewaymanagementapi" IN_LIST FEATURES)
|
| 30 |
+
list(APPEND BUILD_ONLY apigatewaymanagementapi)
|
| 31 |
+
endif()
|
| 32 |
+
if("apigatewayv2" IN_LIST FEATURES)
|
| 33 |
+
list(APPEND BUILD_ONLY apigatewayv2)
|
| 34 |
+
endif()
|
| 35 |
+
if("appconfig" IN_LIST FEATURES)
|
| 36 |
+
list(APPEND BUILD_ONLY appconfig)
|
| 37 |
+
endif()
|
| 38 |
+
if("appflow" IN_LIST FEATURES)
|
| 39 |
+
list(APPEND BUILD_ONLY appflow)
|
| 40 |
+
endif()
|
| 41 |
+
if("appintegrations" IN_LIST FEATURES)
|
| 42 |
+
list(APPEND BUILD_ONLY appintegrations)
|
| 43 |
+
endif()
|
| 44 |
+
if("application-autoscaling" IN_LIST FEATURES)
|
| 45 |
+
list(APPEND BUILD_ONLY application-autoscaling)
|
| 46 |
+
endif()
|
| 47 |
+
if("application-insights" IN_LIST FEATURES)
|
| 48 |
+
list(APPEND BUILD_ONLY application-insights)
|
| 49 |
+
endif()
|
| 50 |
+
if("applicationcostprofiler" IN_LIST FEATURES)
|
| 51 |
+
list(APPEND BUILD_ONLY applicationcostprofiler)
|
| 52 |
+
endif()
|
| 53 |
+
if("appmesh" IN_LIST FEATURES)
|
| 54 |
+
list(APPEND BUILD_ONLY appmesh)
|
| 55 |
+
endif()
|
| 56 |
+
if("apprunner" IN_LIST FEATURES)
|
| 57 |
+
list(APPEND BUILD_ONLY apprunner)
|
| 58 |
+
endif()
|
| 59 |
+
if("appstream" IN_LIST FEATURES)
|
| 60 |
+
list(APPEND BUILD_ONLY appstream)
|
| 61 |
+
endif()
|
| 62 |
+
if("appsync" IN_LIST FEATURES)
|
| 63 |
+
list(APPEND BUILD_ONLY appsync)
|
| 64 |
+
endif()
|
| 65 |
+
if("athena" IN_LIST FEATURES)
|
| 66 |
+
list(APPEND BUILD_ONLY athena)
|
| 67 |
+
endif()
|
| 68 |
+
if("auditmanager" IN_LIST FEATURES)
|
| 69 |
+
list(APPEND BUILD_ONLY auditmanager)
|
| 70 |
+
endif()
|
| 71 |
+
if("autoscaling" IN_LIST FEATURES)
|
| 72 |
+
list(APPEND BUILD_ONLY autoscaling)
|
| 73 |
+
endif()
|
| 74 |
+
if("autoscaling-plans" IN_LIST FEATURES)
|
| 75 |
+
list(APPEND BUILD_ONLY autoscaling-plans)
|
| 76 |
+
endif()
|
| 77 |
+
if("awsmigrationhub" IN_LIST FEATURES)
|
| 78 |
+
list(APPEND BUILD_ONLY AWSMigrationHub)
|
| 79 |
+
endif()
|
| 80 |
+
if("awstransfer" IN_LIST FEATURES)
|
| 81 |
+
list(APPEND BUILD_ONLY awstransfer)
|
| 82 |
+
endif()
|
| 83 |
+
if("backup" IN_LIST FEATURES)
|
| 84 |
+
list(APPEND BUILD_ONLY backup)
|
| 85 |
+
endif()
|
| 86 |
+
if("batch" IN_LIST FEATURES)
|
| 87 |
+
list(APPEND BUILD_ONLY batch)
|
| 88 |
+
endif()
|
| 89 |
+
if("braket" IN_LIST FEATURES)
|
| 90 |
+
list(APPEND BUILD_ONLY braket)
|
| 91 |
+
endif()
|
| 92 |
+
if("budgets" IN_LIST FEATURES)
|
| 93 |
+
list(APPEND BUILD_ONLY budgets)
|
| 94 |
+
endif()
|
| 95 |
+
if("ce" IN_LIST FEATURES)
|
| 96 |
+
list(APPEND BUILD_ONLY ce)
|
| 97 |
+
endif()
|
| 98 |
+
if("chime" IN_LIST FEATURES)
|
| 99 |
+
list(APPEND BUILD_ONLY chime)
|
| 100 |
+
endif()
|
| 101 |
+
if("cloud9" IN_LIST FEATURES)
|
| 102 |
+
list(APPEND BUILD_ONLY cloud9)
|
| 103 |
+
endif()
|
| 104 |
+
if("clouddirectory" IN_LIST FEATURES)
|
| 105 |
+
list(APPEND BUILD_ONLY clouddirectory)
|
| 106 |
+
endif()
|
| 107 |
+
if("cloudformation" IN_LIST FEATURES)
|
| 108 |
+
list(APPEND BUILD_ONLY cloudformation)
|
| 109 |
+
endif()
|
| 110 |
+
if("cloudfront" IN_LIST FEATURES)
|
| 111 |
+
list(APPEND BUILD_ONLY cloudfront)
|
| 112 |
+
endif()
|
| 113 |
+
if("cloudhsm" IN_LIST FEATURES)
|
| 114 |
+
list(APPEND BUILD_ONLY cloudhsm)
|
| 115 |
+
endif()
|
| 116 |
+
if("cloudhsmv2" IN_LIST FEATURES)
|
| 117 |
+
list(APPEND BUILD_ONLY cloudhsmv2)
|
| 118 |
+
endif()
|
| 119 |
+
if("cloudsearch" IN_LIST FEATURES)
|
| 120 |
+
list(APPEND BUILD_ONLY cloudsearch)
|
| 121 |
+
endif()
|
| 122 |
+
if("cloudsearchdomain" IN_LIST FEATURES)
|
| 123 |
+
list(APPEND BUILD_ONLY cloudsearchdomain)
|
| 124 |
+
endif()
|
| 125 |
+
if("cloudtrail" IN_LIST FEATURES)
|
| 126 |
+
list(APPEND BUILD_ONLY cloudtrail)
|
| 127 |
+
endif()
|
| 128 |
+
if("codeartifact" IN_LIST FEATURES)
|
| 129 |
+
list(APPEND BUILD_ONLY codeartifact)
|
| 130 |
+
endif()
|
| 131 |
+
if("codebuild" IN_LIST FEATURES)
|
| 132 |
+
list(APPEND BUILD_ONLY codebuild)
|
| 133 |
+
endif()
|
| 134 |
+
if("codecommit" IN_LIST FEATURES)
|
| 135 |
+
list(APPEND BUILD_ONLY codecommit)
|
| 136 |
+
endif()
|
| 137 |
+
if("codedeploy" IN_LIST FEATURES)
|
| 138 |
+
list(APPEND BUILD_ONLY codedeploy)
|
| 139 |
+
endif()
|
| 140 |
+
if("codeguru-reviewer" IN_LIST FEATURES)
|
| 141 |
+
list(APPEND BUILD_ONLY codeguru-reviewer)
|
| 142 |
+
endif()
|
| 143 |
+
if("codeguruprofiler" IN_LIST FEATURES)
|
| 144 |
+
list(APPEND BUILD_ONLY codeguruprofiler)
|
| 145 |
+
endif()
|
| 146 |
+
if("codepipeline" IN_LIST FEATURES)
|
| 147 |
+
list(APPEND BUILD_ONLY codepipeline)
|
| 148 |
+
endif()
|
| 149 |
+
if("codestar" IN_LIST FEATURES)
|
| 150 |
+
list(APPEND BUILD_ONLY codestar)
|
| 151 |
+
endif()
|
| 152 |
+
if("codestar-connections" IN_LIST FEATURES)
|
| 153 |
+
list(APPEND BUILD_ONLY codestar-connections)
|
| 154 |
+
endif()
|
| 155 |
+
if("codestar-notifications" IN_LIST FEATURES)
|
| 156 |
+
list(APPEND BUILD_ONLY codestar-notifications)
|
| 157 |
+
endif()
|
| 158 |
+
if("cognito-identity" IN_LIST FEATURES)
|
| 159 |
+
list(APPEND BUILD_ONLY cognito-identity)
|
| 160 |
+
endif()
|
| 161 |
+
if("cognito-idp" IN_LIST FEATURES)
|
| 162 |
+
list(APPEND BUILD_ONLY cognito-idp)
|
| 163 |
+
endif()
|
| 164 |
+
if("cognito-sync" IN_LIST FEATURES)
|
| 165 |
+
list(APPEND BUILD_ONLY cognito-sync)
|
| 166 |
+
endif()
|
| 167 |
+
if("comprehend" IN_LIST FEATURES)
|
| 168 |
+
list(APPEND BUILD_ONLY comprehend)
|
| 169 |
+
endif()
|
| 170 |
+
if("comprehendmedical" IN_LIST FEATURES)
|
| 171 |
+
list(APPEND BUILD_ONLY comprehendmedical)
|
| 172 |
+
endif()
|
| 173 |
+
if("compute-optimizer" IN_LIST FEATURES)
|
| 174 |
+
list(APPEND BUILD_ONLY compute-optimizer)
|
| 175 |
+
endif()
|
| 176 |
+
if("config" IN_LIST FEATURES)
|
| 177 |
+
list(APPEND BUILD_ONLY config)
|
| 178 |
+
endif()
|
| 179 |
+
if("connect" IN_LIST FEATURES)
|
| 180 |
+
list(APPEND BUILD_ONLY connect)
|
| 181 |
+
endif()
|
| 182 |
+
if("connect-contact-lens" IN_LIST FEATURES)
|
| 183 |
+
list(APPEND BUILD_ONLY connect-contact-lens)
|
| 184 |
+
endif()
|
| 185 |
+
if("connectparticipant" IN_LIST FEATURES)
|
| 186 |
+
list(APPEND BUILD_ONLY connectparticipant)
|
| 187 |
+
endif()
|
| 188 |
+
if("cur" IN_LIST FEATURES)
|
| 189 |
+
list(APPEND BUILD_ONLY cur)
|
| 190 |
+
endif()
|
| 191 |
+
if("customer-profiles" IN_LIST FEATURES)
|
| 192 |
+
list(APPEND BUILD_ONLY customer-profiles)
|
| 193 |
+
endif()
|
| 194 |
+
if("databrew" IN_LIST FEATURES)
|
| 195 |
+
list(APPEND BUILD_ONLY databrew)
|
| 196 |
+
endif()
|
| 197 |
+
if("dataexchange" IN_LIST FEATURES)
|
| 198 |
+
list(APPEND BUILD_ONLY dataexchange)
|
| 199 |
+
endif()
|
| 200 |
+
if("datapipeline" IN_LIST FEATURES)
|
| 201 |
+
list(APPEND BUILD_ONLY datapipeline)
|
| 202 |
+
endif()
|
| 203 |
+
if("datasync" IN_LIST FEATURES)
|
| 204 |
+
list(APPEND BUILD_ONLY datasync)
|
| 205 |
+
endif()
|
| 206 |
+
if("dax" IN_LIST FEATURES)
|
| 207 |
+
list(APPEND BUILD_ONLY dax)
|
| 208 |
+
endif()
|
| 209 |
+
if("detective" IN_LIST FEATURES)
|
| 210 |
+
list(APPEND BUILD_ONLY detective)
|
| 211 |
+
endif()
|
| 212 |
+
if("devicefarm" IN_LIST FEATURES)
|
| 213 |
+
list(APPEND BUILD_ONLY devicefarm)
|
| 214 |
+
endif()
|
| 215 |
+
if("devops-guru" IN_LIST FEATURES)
|
| 216 |
+
list(APPEND BUILD_ONLY devops-guru)
|
| 217 |
+
endif()
|
| 218 |
+
if("directconnect" IN_LIST FEATURES)
|
| 219 |
+
list(APPEND BUILD_ONLY directconnect)
|
| 220 |
+
endif()
|
| 221 |
+
if("discovery" IN_LIST FEATURES)
|
| 222 |
+
list(APPEND BUILD_ONLY discovery)
|
| 223 |
+
endif()
|
| 224 |
+
if("dlm" IN_LIST FEATURES)
|
| 225 |
+
list(APPEND BUILD_ONLY dlm)
|
| 226 |
+
endif()
|
| 227 |
+
if("dms" IN_LIST FEATURES)
|
| 228 |
+
list(APPEND BUILD_ONLY dms)
|
| 229 |
+
endif()
|
| 230 |
+
if("docdb" IN_LIST FEATURES)
|
| 231 |
+
list(APPEND BUILD_ONLY docdb)
|
| 232 |
+
endif()
|
| 233 |
+
if("ds" IN_LIST FEATURES)
|
| 234 |
+
list(APPEND BUILD_ONLY ds)
|
| 235 |
+
endif()
|
| 236 |
+
if("dynamodb" IN_LIST FEATURES)
|
| 237 |
+
list(APPEND BUILD_ONLY dynamodb)
|
| 238 |
+
endif()
|
| 239 |
+
if("dynamodbstreams" IN_LIST FEATURES)
|
| 240 |
+
list(APPEND BUILD_ONLY dynamodbstreams)
|
| 241 |
+
endif()
|
| 242 |
+
if("ebs" IN_LIST FEATURES)
|
| 243 |
+
list(APPEND BUILD_ONLY ebs)
|
| 244 |
+
endif()
|
| 245 |
+
if("ec2" IN_LIST FEATURES)
|
| 246 |
+
list(APPEND BUILD_ONLY ec2)
|
| 247 |
+
endif()
|
| 248 |
+
if("ec2-instance-connect" IN_LIST FEATURES)
|
| 249 |
+
list(APPEND BUILD_ONLY ec2-instance-connect)
|
| 250 |
+
endif()
|
| 251 |
+
if("ecr" IN_LIST FEATURES)
|
| 252 |
+
list(APPEND BUILD_ONLY ecr)
|
| 253 |
+
endif()
|
| 254 |
+
if("ecr-public" IN_LIST FEATURES)
|
| 255 |
+
list(APPEND BUILD_ONLY ecr-public)
|
| 256 |
+
endif()
|
| 257 |
+
if("ecs" IN_LIST FEATURES)
|
| 258 |
+
list(APPEND BUILD_ONLY ecs)
|
| 259 |
+
endif()
|
| 260 |
+
if("eks" IN_LIST FEATURES)
|
| 261 |
+
list(APPEND BUILD_ONLY eks)
|
| 262 |
+
endif()
|
| 263 |
+
if("elastic-inference" IN_LIST FEATURES)
|
| 264 |
+
list(APPEND BUILD_ONLY elastic-inference)
|
| 265 |
+
endif()
|
| 266 |
+
if("elasticache" IN_LIST FEATURES)
|
| 267 |
+
list(APPEND BUILD_ONLY elasticache)
|
| 268 |
+
endif()
|
| 269 |
+
if("elasticbeanstalk" IN_LIST FEATURES)
|
| 270 |
+
list(APPEND BUILD_ONLY elasticbeanstalk)
|
| 271 |
+
endif()
|
| 272 |
+
if("elasticfilesystem" IN_LIST FEATURES)
|
| 273 |
+
list(APPEND BUILD_ONLY elasticfilesystem)
|
| 274 |
+
endif()
|
| 275 |
+
if("elasticloadbalancing" IN_LIST FEATURES)
|
| 276 |
+
list(APPEND BUILD_ONLY elasticloadbalancing)
|
| 277 |
+
endif()
|
| 278 |
+
if("elasticloadbalancingv2" IN_LIST FEATURES)
|
| 279 |
+
list(APPEND BUILD_ONLY elasticloadbalancingv2)
|
| 280 |
+
endif()
|
| 281 |
+
if("elasticmapreduce" IN_LIST FEATURES)
|
| 282 |
+
list(APPEND BUILD_ONLY elasticmapreduce)
|
| 283 |
+
endif()
|
| 284 |
+
if("elastictranscoder" IN_LIST FEATURES)
|
| 285 |
+
list(APPEND BUILD_ONLY elastictranscoder)
|
| 286 |
+
endif()
|
| 287 |
+
if("email" IN_LIST FEATURES)
|
| 288 |
+
list(APPEND BUILD_ONLY email)
|
| 289 |
+
endif()
|
| 290 |
+
if("emr-containers" IN_LIST FEATURES)
|
| 291 |
+
list(APPEND BUILD_ONLY emr-containers)
|
| 292 |
+
endif()
|
| 293 |
+
if("es" IN_LIST FEATURES)
|
| 294 |
+
list(APPEND BUILD_ONLY es)
|
| 295 |
+
endif()
|
| 296 |
+
if("eventbridge" IN_LIST FEATURES)
|
| 297 |
+
list(APPEND BUILD_ONLY eventbridge)
|
| 298 |
+
endif()
|
| 299 |
+
if("events" IN_LIST FEATURES)
|
| 300 |
+
list(APPEND BUILD_ONLY events)
|
| 301 |
+
endif()
|
| 302 |
+
if("finspace" IN_LIST FEATURES)
|
| 303 |
+
list(APPEND BUILD_ONLY finspace)
|
| 304 |
+
endif()
|
| 305 |
+
if("finspace-data" IN_LIST FEATURES)
|
| 306 |
+
list(APPEND BUILD_ONLY finspace-data)
|
| 307 |
+
endif()
|
| 308 |
+
if("firehose" IN_LIST FEATURES)
|
| 309 |
+
list(APPEND BUILD_ONLY firehose)
|
| 310 |
+
endif()
|
| 311 |
+
if("fis" IN_LIST FEATURES)
|
| 312 |
+
list(APPEND BUILD_ONLY fis)
|
| 313 |
+
endif()
|
| 314 |
+
if("fms" IN_LIST FEATURES)
|
| 315 |
+
list(APPEND BUILD_ONLY fms)
|
| 316 |
+
endif()
|
| 317 |
+
if("forecast" IN_LIST FEATURES)
|
| 318 |
+
list(APPEND BUILD_ONLY forecast)
|
| 319 |
+
endif()
|
| 320 |
+
if("forecastquery" IN_LIST FEATURES)
|
| 321 |
+
list(APPEND BUILD_ONLY forecastquery)
|
| 322 |
+
endif()
|
| 323 |
+
if("frauddetector" IN_LIST FEATURES)
|
| 324 |
+
list(APPEND BUILD_ONLY frauddetector)
|
| 325 |
+
endif()
|
| 326 |
+
if("fsx" IN_LIST FEATURES)
|
| 327 |
+
list(APPEND BUILD_ONLY fsx)
|
| 328 |
+
endif()
|
| 329 |
+
if("gamelift" IN_LIST FEATURES)
|
| 330 |
+
list(APPEND BUILD_ONLY gamelift)
|
| 331 |
+
endif()
|
| 332 |
+
if("glacier" IN_LIST FEATURES)
|
| 333 |
+
list(APPEND BUILD_ONLY glacier)
|
| 334 |
+
endif()
|
| 335 |
+
if("globalaccelerator" IN_LIST FEATURES)
|
| 336 |
+
list(APPEND BUILD_ONLY globalaccelerator)
|
| 337 |
+
endif()
|
| 338 |
+
if("glue" IN_LIST FEATURES)
|
| 339 |
+
list(APPEND BUILD_ONLY glue)
|
| 340 |
+
endif()
|
| 341 |
+
if("greengrass" IN_LIST FEATURES)
|
| 342 |
+
list(APPEND BUILD_ONLY greengrass)
|
| 343 |
+
endif()
|
| 344 |
+
if("greengrassv2" IN_LIST FEATURES)
|
| 345 |
+
list(APPEND BUILD_ONLY greengrassv2)
|
| 346 |
+
endif()
|
| 347 |
+
if("groundstation" IN_LIST FEATURES)
|
| 348 |
+
list(APPEND BUILD_ONLY groundstation)
|
| 349 |
+
endif()
|
| 350 |
+
if("guardduty" IN_LIST FEATURES)
|
| 351 |
+
list(APPEND BUILD_ONLY guardduty)
|
| 352 |
+
endif()
|
| 353 |
+
if("health" IN_LIST FEATURES)
|
| 354 |
+
list(APPEND BUILD_ONLY health)
|
| 355 |
+
endif()
|
| 356 |
+
if("healthlake" IN_LIST FEATURES)
|
| 357 |
+
list(APPEND BUILD_ONLY healthlake)
|
| 358 |
+
endif()
|
| 359 |
+
if("honeycode" IN_LIST FEATURES)
|
| 360 |
+
list(APPEND BUILD_ONLY honeycode)
|
| 361 |
+
endif()
|
| 362 |
+
if("iam" IN_LIST FEATURES)
|
| 363 |
+
list(APPEND BUILD_ONLY iam)
|
| 364 |
+
endif()
|
| 365 |
+
if("identity-management" IN_LIST FEATURES)
|
| 366 |
+
list(APPEND BUILD_ONLY identity-management)
|
| 367 |
+
endif()
|
| 368 |
+
if("identitystore" IN_LIST FEATURES)
|
| 369 |
+
list(APPEND BUILD_ONLY identitystore)
|
| 370 |
+
endif()
|
| 371 |
+
if("imagebuilder" IN_LIST FEATURES)
|
| 372 |
+
list(APPEND BUILD_ONLY imagebuilder)
|
| 373 |
+
endif()
|
| 374 |
+
if("importexport" IN_LIST FEATURES)
|
| 375 |
+
list(APPEND BUILD_ONLY importexport)
|
| 376 |
+
endif()
|
| 377 |
+
if("inspector" IN_LIST FEATURES)
|
| 378 |
+
list(APPEND BUILD_ONLY inspector)
|
| 379 |
+
endif()
|
| 380 |
+
if("iot" IN_LIST FEATURES)
|
| 381 |
+
list(APPEND BUILD_ONLY iot)
|
| 382 |
+
endif()
|
| 383 |
+
if("iot-data" IN_LIST FEATURES)
|
| 384 |
+
list(APPEND BUILD_ONLY iot-data)
|
| 385 |
+
endif()
|
| 386 |
+
if("iot-jobs-data" IN_LIST FEATURES)
|
| 387 |
+
list(APPEND BUILD_ONLY iot-jobs-data)
|
| 388 |
+
endif()
|
| 389 |
+
if("iot1click-devices" IN_LIST FEATURES)
|
| 390 |
+
list(APPEND BUILD_ONLY iot1click-devices)
|
| 391 |
+
endif()
|
| 392 |
+
if("iot1click-projects" IN_LIST FEATURES)
|
| 393 |
+
list(APPEND BUILD_ONLY iot1click-projects)
|
| 394 |
+
endif()
|
| 395 |
+
if("iotanalytics" IN_LIST FEATURES)
|
| 396 |
+
list(APPEND BUILD_ONLY iotanalytics)
|
| 397 |
+
endif()
|
| 398 |
+
if("iotdeviceadvisor" IN_LIST FEATURES)
|
| 399 |
+
list(APPEND BUILD_ONLY iotdeviceadvisor)
|
| 400 |
+
endif()
|
| 401 |
+
if("iotevents" IN_LIST FEATURES)
|
| 402 |
+
list(APPEND BUILD_ONLY iotevents)
|
| 403 |
+
endif()
|
| 404 |
+
if("iotevents-data" IN_LIST FEATURES)
|
| 405 |
+
list(APPEND BUILD_ONLY iotevents-data)
|
| 406 |
+
endif()
|
| 407 |
+
if("iotfleethub" IN_LIST FEATURES)
|
| 408 |
+
list(APPEND BUILD_ONLY iotfleethub)
|
| 409 |
+
endif()
|
| 410 |
+
if("iotsecuretunneling" IN_LIST FEATURES)
|
| 411 |
+
list(APPEND BUILD_ONLY iotsecuretunneling)
|
| 412 |
+
endif()
|
| 413 |
+
if("iotsitewise" IN_LIST FEATURES)
|
| 414 |
+
list(APPEND BUILD_ONLY iotsitewise)
|
| 415 |
+
endif()
|
| 416 |
+
if("iotthingsgraph" IN_LIST FEATURES)
|
| 417 |
+
list(APPEND BUILD_ONLY iotthingsgraph)
|
| 418 |
+
endif()
|
| 419 |
+
if("iotwireless" IN_LIST FEATURES)
|
| 420 |
+
list(APPEND BUILD_ONLY iotwireless)
|
| 421 |
+
endif()
|
| 422 |
+
if("ivs" IN_LIST FEATURES)
|
| 423 |
+
list(APPEND BUILD_ONLY ivs)
|
| 424 |
+
endif()
|
| 425 |
+
if("kafka" IN_LIST FEATURES)
|
| 426 |
+
list(APPEND BUILD_ONLY kafka)
|
| 427 |
+
endif()
|
| 428 |
+
if("kendra" IN_LIST FEATURES)
|
| 429 |
+
list(APPEND BUILD_ONLY kendra)
|
| 430 |
+
endif()
|
| 431 |
+
if("kinesis" IN_LIST FEATURES)
|
| 432 |
+
list(APPEND BUILD_ONLY kinesis)
|
| 433 |
+
endif()
|
| 434 |
+
if("kinesis-video-archived-media" IN_LIST FEATURES)
|
| 435 |
+
list(APPEND BUILD_ONLY kinesis-video-archived-media)
|
| 436 |
+
endif()
|
| 437 |
+
if("kinesis-video-media" IN_LIST FEATURES)
|
| 438 |
+
list(APPEND BUILD_ONLY kinesis-video-media)
|
| 439 |
+
endif()
|
| 440 |
+
if("kinesis-video-signaling" IN_LIST FEATURES)
|
| 441 |
+
list(APPEND BUILD_ONLY kinesis-video-signaling)
|
| 442 |
+
endif()
|
| 443 |
+
if("kinesisanalytics" IN_LIST FEATURES)
|
| 444 |
+
list(APPEND BUILD_ONLY kinesisanalytics)
|
| 445 |
+
endif()
|
| 446 |
+
if("kinesisanalyticsv2" IN_LIST FEATURES)
|
| 447 |
+
list(APPEND BUILD_ONLY kinesisanalyticsv2)
|
| 448 |
+
endif()
|
| 449 |
+
if("kinesisvideo" IN_LIST FEATURES)
|
| 450 |
+
list(APPEND BUILD_ONLY kinesisvideo)
|
| 451 |
+
endif()
|
| 452 |
+
if("kms" IN_LIST FEATURES)
|
| 453 |
+
list(APPEND BUILD_ONLY kms)
|
| 454 |
+
endif()
|
| 455 |
+
if("lakeformation" IN_LIST FEATURES)
|
| 456 |
+
list(APPEND BUILD_ONLY lakeformation)
|
| 457 |
+
endif()
|
| 458 |
+
if("lambda" IN_LIST FEATURES)
|
| 459 |
+
list(APPEND BUILD_ONLY lambda)
|
| 460 |
+
endif()
|
| 461 |
+
if("lex" IN_LIST FEATURES)
|
| 462 |
+
list(APPEND BUILD_ONLY lex)
|
| 463 |
+
endif()
|
| 464 |
+
if("lex-models" IN_LIST FEATURES)
|
| 465 |
+
list(APPEND BUILD_ONLY lex-models)
|
| 466 |
+
endif()
|
| 467 |
+
if("lexv2-models" IN_LIST FEATURES)
|
| 468 |
+
list(APPEND BUILD_ONLY lexv2-models)
|
| 469 |
+
endif()
|
| 470 |
+
if("lexv2-runtime" IN_LIST FEATURES)
|
| 471 |
+
list(APPEND BUILD_ONLY lexv2-runtime)
|
| 472 |
+
endif()
|
| 473 |
+
if("license-manager" IN_LIST FEATURES)
|
| 474 |
+
list(APPEND BUILD_ONLY license-manager)
|
| 475 |
+
endif()
|
| 476 |
+
if("lightsail" IN_LIST FEATURES)
|
| 477 |
+
list(APPEND BUILD_ONLY lightsail)
|
| 478 |
+
endif()
|
| 479 |
+
if("location" IN_LIST FEATURES)
|
| 480 |
+
list(APPEND BUILD_ONLY location)
|
| 481 |
+
endif()
|
| 482 |
+
if("logs" IN_LIST FEATURES)
|
| 483 |
+
list(APPEND BUILD_ONLY logs)
|
| 484 |
+
endif()
|
| 485 |
+
if("lookoutequipment" IN_LIST FEATURES)
|
| 486 |
+
list(APPEND BUILD_ONLY lookoutequipment)
|
| 487 |
+
endif()
|
| 488 |
+
if("lookoutmetrics" IN_LIST FEATURES)
|
| 489 |
+
list(APPEND BUILD_ONLY lookoutmetrics)
|
| 490 |
+
endif()
|
| 491 |
+
if("lookoutvision" IN_LIST FEATURES)
|
| 492 |
+
list(APPEND BUILD_ONLY lookoutvision)
|
| 493 |
+
endif()
|
| 494 |
+
if("machinelearning" IN_LIST FEATURES)
|
| 495 |
+
list(APPEND BUILD_ONLY machinelearning)
|
| 496 |
+
endif()
|
| 497 |
+
if("macie" IN_LIST FEATURES)
|
| 498 |
+
list(APPEND BUILD_ONLY macie)
|
| 499 |
+
endif()
|
| 500 |
+
if("macie2" IN_LIST FEATURES)
|
| 501 |
+
list(APPEND BUILD_ONLY macie2)
|
| 502 |
+
endif()
|
| 503 |
+
if("managedblockchain" IN_LIST FEATURES)
|
| 504 |
+
list(APPEND BUILD_ONLY managedblockchain)
|
| 505 |
+
endif()
|
| 506 |
+
if("marketplace-catalog" IN_LIST FEATURES)
|
| 507 |
+
list(APPEND BUILD_ONLY marketplace-catalog)
|
| 508 |
+
endif()
|
| 509 |
+
if("marketplace-entitlement" IN_LIST FEATURES)
|
| 510 |
+
list(APPEND BUILD_ONLY marketplace-entitlement)
|
| 511 |
+
endif()
|
| 512 |
+
if("marketplacecommerceanalytics" IN_LIST FEATURES)
|
| 513 |
+
list(APPEND BUILD_ONLY marketplacecommerceanalytics)
|
| 514 |
+
endif()
|
| 515 |
+
if("mediaconnect" IN_LIST FEATURES)
|
| 516 |
+
list(APPEND BUILD_ONLY mediaconnect)
|
| 517 |
+
endif()
|
| 518 |
+
if("mediaconvert" IN_LIST FEATURES)
|
| 519 |
+
list(APPEND BUILD_ONLY mediaconvert)
|
| 520 |
+
endif()
|
| 521 |
+
if("medialive" IN_LIST FEATURES)
|
| 522 |
+
list(APPEND BUILD_ONLY medialive)
|
| 523 |
+
endif()
|
| 524 |
+
if("mediapackage" IN_LIST FEATURES)
|
| 525 |
+
list(APPEND BUILD_ONLY mediapackage)
|
| 526 |
+
endif()
|
| 527 |
+
if("mediapackage-vod" IN_LIST FEATURES)
|
| 528 |
+
list(APPEND BUILD_ONLY mediapackage-vod)
|
| 529 |
+
endif()
|
| 530 |
+
if("mediastore" IN_LIST FEATURES)
|
| 531 |
+
list(APPEND BUILD_ONLY mediastore)
|
| 532 |
+
endif()
|
| 533 |
+
if("mediastore-data" IN_LIST FEATURES)
|
| 534 |
+
list(APPEND BUILD_ONLY mediastore-data)
|
| 535 |
+
endif()
|
| 536 |
+
if("mediatailor" IN_LIST FEATURES)
|
| 537 |
+
list(APPEND BUILD_ONLY mediatailor)
|
| 538 |
+
endif()
|
| 539 |
+
if("meteringmarketplace" IN_LIST FEATURES)
|
| 540 |
+
list(APPEND BUILD_ONLY meteringmarketplace)
|
| 541 |
+
endif()
|
| 542 |
+
if("mgn" IN_LIST FEATURES)
|
| 543 |
+
list(APPEND BUILD_ONLY mgn)
|
| 544 |
+
endif()
|
| 545 |
+
if("migrationhub-config" IN_LIST FEATURES)
|
| 546 |
+
list(APPEND BUILD_ONLY migrationhub-config)
|
| 547 |
+
endif()
|
| 548 |
+
if("mobile" IN_LIST FEATURES)
|
| 549 |
+
list(APPEND BUILD_ONLY mobile)
|
| 550 |
+
endif()
|
| 551 |
+
if("mobileanalytics" IN_LIST FEATURES)
|
| 552 |
+
list(APPEND BUILD_ONLY mobileanalytics)
|
| 553 |
+
endif()
|
| 554 |
+
if("monitoring" IN_LIST FEATURES)
|
| 555 |
+
list(APPEND BUILD_ONLY monitoring)
|
| 556 |
+
endif()
|
| 557 |
+
if("mq" IN_LIST FEATURES)
|
| 558 |
+
list(APPEND BUILD_ONLY mq)
|
| 559 |
+
endif()
|
| 560 |
+
if("mturk-requester" IN_LIST FEATURES)
|
| 561 |
+
list(APPEND BUILD_ONLY mturk-requester)
|
| 562 |
+
endif()
|
| 563 |
+
if("mwaa" IN_LIST FEATURES)
|
| 564 |
+
list(APPEND BUILD_ONLY mwaa)
|
| 565 |
+
endif()
|
| 566 |
+
if("neptune" IN_LIST FEATURES)
|
| 567 |
+
list(APPEND BUILD_ONLY neptune)
|
| 568 |
+
endif()
|
| 569 |
+
if("network-firewall" IN_LIST FEATURES)
|
| 570 |
+
list(APPEND BUILD_ONLY network-firewall)
|
| 571 |
+
endif()
|
| 572 |
+
if("networkmanager" IN_LIST FEATURES)
|
| 573 |
+
list(APPEND BUILD_ONLY networkmanager)
|
| 574 |
+
endif()
|
| 575 |
+
if("nimble" IN_LIST FEATURES)
|
| 576 |
+
list(APPEND BUILD_ONLY nimble)
|
| 577 |
+
endif()
|
| 578 |
+
if("opsworks" IN_LIST FEATURES)
|
| 579 |
+
list(APPEND BUILD_ONLY opsworks)
|
| 580 |
+
endif()
|
| 581 |
+
if("opsworkscm" IN_LIST FEATURES)
|
| 582 |
+
list(APPEND BUILD_ONLY opsworkscm)
|
| 583 |
+
endif()
|
| 584 |
+
if("organizations" IN_LIST FEATURES)
|
| 585 |
+
list(APPEND BUILD_ONLY organizations)
|
| 586 |
+
endif()
|
| 587 |
+
if("outposts" IN_LIST FEATURES)
|
| 588 |
+
list(APPEND BUILD_ONLY outposts)
|
| 589 |
+
endif()
|
| 590 |
+
if("personalize" IN_LIST FEATURES)
|
| 591 |
+
list(APPEND BUILD_ONLY personalize)
|
| 592 |
+
endif()
|
| 593 |
+
if("personalize-events" IN_LIST FEATURES)
|
| 594 |
+
list(APPEND BUILD_ONLY personalize-events)
|
| 595 |
+
endif()
|
| 596 |
+
if("personalize-runtime" IN_LIST FEATURES)
|
| 597 |
+
list(APPEND BUILD_ONLY personalize-runtime)
|
| 598 |
+
endif()
|
| 599 |
+
if("pi" IN_LIST FEATURES)
|
| 600 |
+
list(APPEND BUILD_ONLY pi)
|
| 601 |
+
endif()
|
| 602 |
+
if("pinpoint" IN_LIST FEATURES)
|
| 603 |
+
list(APPEND BUILD_ONLY pinpoint)
|
| 604 |
+
endif()
|
| 605 |
+
if("pinpoint-email" IN_LIST FEATURES)
|
| 606 |
+
list(APPEND BUILD_ONLY pinpoint-email)
|
| 607 |
+
endif()
|
| 608 |
+
if("polly" IN_LIST FEATURES)
|
| 609 |
+
list(APPEND BUILD_ONLY polly)
|
| 610 |
+
endif()
|
| 611 |
+
if("pricing" IN_LIST FEATURES)
|
| 612 |
+
list(APPEND BUILD_ONLY pricing)
|
| 613 |
+
endif()
|
| 614 |
+
if("qldb" IN_LIST FEATURES)
|
| 615 |
+
list(APPEND BUILD_ONLY qldb)
|
| 616 |
+
endif()
|
| 617 |
+
if("qldb-session" IN_LIST FEATURES)
|
| 618 |
+
list(APPEND BUILD_ONLY qldb-session)
|
| 619 |
+
endif()
|
| 620 |
+
if("queues" IN_LIST FEATURES)
|
| 621 |
+
list(APPEND BUILD_ONLY queues)
|
| 622 |
+
endif()
|
| 623 |
+
if("quicksight" IN_LIST FEATURES)
|
| 624 |
+
list(APPEND BUILD_ONLY quicksight)
|
| 625 |
+
endif()
|
| 626 |
+
if("ram" IN_LIST FEATURES)
|
| 627 |
+
list(APPEND BUILD_ONLY ram)
|
| 628 |
+
endif()
|
| 629 |
+
if("rds" IN_LIST FEATURES)
|
| 630 |
+
list(APPEND BUILD_ONLY rds)
|
| 631 |
+
endif()
|
| 632 |
+
if("rds-data" IN_LIST FEATURES)
|
| 633 |
+
list(APPEND BUILD_ONLY rds-data)
|
| 634 |
+
endif()
|
| 635 |
+
if("redshift" IN_LIST FEATURES)
|
| 636 |
+
list(APPEND BUILD_ONLY redshift)
|
| 637 |
+
endif()
|
| 638 |
+
if("redshift-data" IN_LIST FEATURES)
|
| 639 |
+
list(APPEND BUILD_ONLY redshift-data)
|
| 640 |
+
endif()
|
| 641 |
+
if("rekognition" IN_LIST FEATURES)
|
| 642 |
+
list(APPEND BUILD_ONLY rekognition)
|
| 643 |
+
endif()
|
| 644 |
+
if("resource-groups" IN_LIST FEATURES)
|
| 645 |
+
list(APPEND BUILD_ONLY resource-groups)
|
| 646 |
+
endif()
|
| 647 |
+
if("resourcegroupstaggingapi" IN_LIST FEATURES)
|
| 648 |
+
list(APPEND BUILD_ONLY resourcegroupstaggingapi)
|
| 649 |
+
endif()
|
| 650 |
+
if("robomaker" IN_LIST FEATURES)
|
| 651 |
+
list(APPEND BUILD_ONLY robomaker)
|
| 652 |
+
endif()
|
| 653 |
+
if("route53" IN_LIST FEATURES)
|
| 654 |
+
list(APPEND BUILD_ONLY route53)
|
| 655 |
+
endif()
|
| 656 |
+
if("route53domains" IN_LIST FEATURES)
|
| 657 |
+
list(APPEND BUILD_ONLY route53domains)
|
| 658 |
+
endif()
|
| 659 |
+
if("route53resolver" IN_LIST FEATURES)
|
| 660 |
+
list(APPEND BUILD_ONLY route53resolver)
|
| 661 |
+
endif()
|
| 662 |
+
if("s3" IN_LIST FEATURES)
|
| 663 |
+
list(APPEND BUILD_ONLY s3)
|
| 664 |
+
endif()
|
| 665 |
+
if("s3-crt" IN_LIST FEATURES)
|
| 666 |
+
list(APPEND BUILD_ONLY s3-crt)
|
| 667 |
+
endif()
|
| 668 |
+
if("s3-encryption" IN_LIST FEATURES)
|
| 669 |
+
list(APPEND BUILD_ONLY s3-encryption)
|
| 670 |
+
endif()
|
| 671 |
+
if("s3control" IN_LIST FEATURES)
|
| 672 |
+
list(APPEND BUILD_ONLY s3control)
|
| 673 |
+
endif()
|
| 674 |
+
if("s3outposts" IN_LIST FEATURES)
|
| 675 |
+
list(APPEND BUILD_ONLY s3outposts)
|
| 676 |
+
endif()
|
| 677 |
+
if("sagemaker" IN_LIST FEATURES)
|
| 678 |
+
list(APPEND BUILD_ONLY sagemaker)
|
| 679 |
+
endif()
|
| 680 |
+
if("sagemaker-a2i-runtime" IN_LIST FEATURES)
|
| 681 |
+
list(APPEND BUILD_ONLY sagemaker-a2i-runtime)
|
| 682 |
+
endif()
|
| 683 |
+
if("sagemaker-edge" IN_LIST FEATURES)
|
| 684 |
+
list(APPEND BUILD_ONLY sagemaker-edge)
|
| 685 |
+
endif()
|
| 686 |
+
if("sagemaker-featurestore-runtime" IN_LIST FEATURES)
|
| 687 |
+
list(APPEND BUILD_ONLY sagemaker-featurestore-runtime)
|
| 688 |
+
endif()
|
| 689 |
+
if("sagemaker-runtime" IN_LIST FEATURES)
|
| 690 |
+
list(APPEND BUILD_ONLY sagemaker-runtime)
|
| 691 |
+
endif()
|
| 692 |
+
if("savingsplans" IN_LIST FEATURES)
|
| 693 |
+
list(APPEND BUILD_ONLY savingsplans)
|
| 694 |
+
endif()
|
| 695 |
+
if("schemas" IN_LIST FEATURES)
|
| 696 |
+
list(APPEND BUILD_ONLY schemas)
|
| 697 |
+
endif()
|
| 698 |
+
if("sdb" IN_LIST FEATURES)
|
| 699 |
+
list(APPEND BUILD_ONLY sdb)
|
| 700 |
+
endif()
|
| 701 |
+
if("secretsmanager" IN_LIST FEATURES)
|
| 702 |
+
list(APPEND BUILD_ONLY secretsmanager)
|
| 703 |
+
endif()
|
| 704 |
+
if("securityhub" IN_LIST FEATURES)
|
| 705 |
+
list(APPEND BUILD_ONLY securityhub)
|
| 706 |
+
endif()
|
| 707 |
+
if("serverlessrepo" IN_LIST FEATURES)
|
| 708 |
+
list(APPEND BUILD_ONLY serverlessrepo)
|
| 709 |
+
endif()
|
| 710 |
+
if("service-quotas" IN_LIST FEATURES)
|
| 711 |
+
list(APPEND BUILD_ONLY service-quotas)
|
| 712 |
+
endif()
|
| 713 |
+
if("servicecatalog" IN_LIST FEATURES)
|
| 714 |
+
list(APPEND BUILD_ONLY servicecatalog)
|
| 715 |
+
endif()
|
| 716 |
+
if("servicecatalog-appregistry" IN_LIST FEATURES)
|
| 717 |
+
list(APPEND BUILD_ONLY servicecatalog-appregistry)
|
| 718 |
+
endif()
|
| 719 |
+
if("servicediscovery" IN_LIST FEATURES)
|
| 720 |
+
list(APPEND BUILD_ONLY servicediscovery)
|
| 721 |
+
endif()
|
| 722 |
+
if("sesv2" IN_LIST FEATURES)
|
| 723 |
+
list(APPEND BUILD_ONLY sesv2)
|
| 724 |
+
endif()
|
| 725 |
+
if("shield" IN_LIST FEATURES)
|
| 726 |
+
list(APPEND BUILD_ONLY shield)
|
| 727 |
+
endif()
|
| 728 |
+
if("signer" IN_LIST FEATURES)
|
| 729 |
+
list(APPEND BUILD_ONLY signer)
|
| 730 |
+
endif()
|
| 731 |
+
if("sms" IN_LIST FEATURES)
|
| 732 |
+
list(APPEND BUILD_ONLY sms)
|
| 733 |
+
endif()
|
| 734 |
+
if("sms-voice" IN_LIST FEATURES)
|
| 735 |
+
list(APPEND BUILD_ONLY sms-voice)
|
| 736 |
+
endif()
|
| 737 |
+
if("snowball" IN_LIST FEATURES)
|
| 738 |
+
list(APPEND BUILD_ONLY snowball)
|
| 739 |
+
endif()
|
| 740 |
+
if("sns" IN_LIST FEATURES)
|
| 741 |
+
list(APPEND BUILD_ONLY sns)
|
| 742 |
+
endif()
|
| 743 |
+
if("sqs" IN_LIST FEATURES)
|
| 744 |
+
list(APPEND BUILD_ONLY sqs)
|
| 745 |
+
endif()
|
| 746 |
+
if("ssm" IN_LIST FEATURES)
|
| 747 |
+
list(APPEND BUILD_ONLY ssm)
|
| 748 |
+
endif()
|
| 749 |
+
if("ssm-contacts" IN_LIST FEATURES)
|
| 750 |
+
list(APPEND BUILD_ONLY ssm-contacts)
|
| 751 |
+
endif()
|
| 752 |
+
if("ssm-incidents" IN_LIST FEATURES)
|
| 753 |
+
list(APPEND BUILD_ONLY ssm-incidents)
|
| 754 |
+
endif()
|
| 755 |
+
if("sso" IN_LIST FEATURES)
|
| 756 |
+
list(APPEND BUILD_ONLY sso)
|
| 757 |
+
endif()
|
| 758 |
+
if("sso-admin" IN_LIST FEATURES)
|
| 759 |
+
list(APPEND BUILD_ONLY sso-admin)
|
| 760 |
+
endif()
|
| 761 |
+
if("sso-oidc" IN_LIST FEATURES)
|
| 762 |
+
list(APPEND BUILD_ONLY sso-oidc)
|
| 763 |
+
endif()
|
| 764 |
+
if("states" IN_LIST FEATURES)
|
| 765 |
+
list(APPEND BUILD_ONLY states)
|
| 766 |
+
endif()
|
| 767 |
+
if("storagegateway" IN_LIST FEATURES)
|
| 768 |
+
list(APPEND BUILD_ONLY storagegateway)
|
| 769 |
+
endif()
|
| 770 |
+
if("sts" IN_LIST FEATURES)
|
| 771 |
+
list(APPEND BUILD_ONLY sts)
|
| 772 |
+
endif()
|
| 773 |
+
if("support" IN_LIST FEATURES)
|
| 774 |
+
list(APPEND BUILD_ONLY support)
|
| 775 |
+
endif()
|
| 776 |
+
if("swf" IN_LIST FEATURES)
|
| 777 |
+
list(APPEND BUILD_ONLY swf)
|
| 778 |
+
endif()
|
| 779 |
+
if("synthetics" IN_LIST FEATURES)
|
| 780 |
+
list(APPEND BUILD_ONLY synthetics)
|
| 781 |
+
endif()
|
| 782 |
+
if("text-to-speech" IN_LIST FEATURES)
|
| 783 |
+
list(APPEND BUILD_ONLY text-to-speech)
|
| 784 |
+
endif()
|
| 785 |
+
if("textract" IN_LIST FEATURES)
|
| 786 |
+
list(APPEND BUILD_ONLY textract)
|
| 787 |
+
endif()
|
| 788 |
+
if("timestream-query" IN_LIST FEATURES)
|
| 789 |
+
list(APPEND BUILD_ONLY timestream-query)
|
| 790 |
+
endif()
|
| 791 |
+
if("timestream-write" IN_LIST FEATURES)
|
| 792 |
+
list(APPEND BUILD_ONLY timestream-write)
|
| 793 |
+
endif()
|
| 794 |
+
if("transcribe" IN_LIST FEATURES)
|
| 795 |
+
list(APPEND BUILD_ONLY transcribe)
|
| 796 |
+
endif()
|
| 797 |
+
if("transcribestreaming" IN_LIST FEATURES)
|
| 798 |
+
list(APPEND BUILD_ONLY transcribestreaming)
|
| 799 |
+
endif()
|
| 800 |
+
if("transfer" IN_LIST FEATURES)
|
| 801 |
+
list(APPEND BUILD_ONLY transfer)
|
| 802 |
+
endif()
|
| 803 |
+
if("translate" IN_LIST FEATURES)
|
| 804 |
+
list(APPEND BUILD_ONLY translate)
|
| 805 |
+
endif()
|
| 806 |
+
if("waf" IN_LIST FEATURES)
|
| 807 |
+
list(APPEND BUILD_ONLY waf)
|
| 808 |
+
endif()
|
| 809 |
+
if("waf-regional" IN_LIST FEATURES)
|
| 810 |
+
list(APPEND BUILD_ONLY waf-regional)
|
| 811 |
+
endif()
|
| 812 |
+
if("wafv2" IN_LIST FEATURES)
|
| 813 |
+
list(APPEND BUILD_ONLY wafv2)
|
| 814 |
+
endif()
|
| 815 |
+
if("wellarchitected" IN_LIST FEATURES)
|
| 816 |
+
list(APPEND BUILD_ONLY wellarchitected)
|
| 817 |
+
endif()
|
| 818 |
+
if("workdocs" IN_LIST FEATURES)
|
| 819 |
+
list(APPEND BUILD_ONLY workdocs)
|
| 820 |
+
endif()
|
| 821 |
+
if("worklink" IN_LIST FEATURES)
|
| 822 |
+
list(APPEND BUILD_ONLY worklink)
|
| 823 |
+
endif()
|
| 824 |
+
if("workmail" IN_LIST FEATURES)
|
| 825 |
+
list(APPEND BUILD_ONLY workmail)
|
| 826 |
+
endif()
|
| 827 |
+
if("workmailmessageflow" IN_LIST FEATURES)
|
| 828 |
+
list(APPEND BUILD_ONLY workmailmessageflow)
|
| 829 |
+
endif()
|
| 830 |
+
if("workspaces" IN_LIST FEATURES)
|
| 831 |
+
list(APPEND BUILD_ONLY workspaces)
|
| 832 |
+
endif()
|
| 833 |
+
if("xray" IN_LIST FEATURES)
|
| 834 |
+
list(APPEND BUILD_ONLY xray)
|
| 835 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/fix-aws-root.patch
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/cmake/AWSSDKConfig.cmake b/cmake/AWSSDKConfig.cmake
|
| 2 |
+
--- a/cmake/AWSSDKConfig.cmake (revision 2f90f9fd6c56460bd382243aa215fcddcb5883c8)
|
| 3 |
+
+++ b/cmake/AWSSDKConfig.cmake (date 1636913220527)
|
| 4 |
+
@@ -54,18 +54,14 @@
|
| 5 |
+
string(REPLACE ";" "${AWS_MODULE_DIR};" SYSTEM_MODULE_PATH "${CMAKE_SYSTEM_PREFIX_PATH}${AWS_MODULE_DIR}")
|
| 6 |
+
list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH} ${SYSTEM_MODULE_PATH})
|
| 7 |
+
|
| 8 |
+
-# On Windows, dlls are treated as runtime target and installed in bindir
|
| 9 |
+
if (WIN32 AND AWSSDK_INSTALL_AS_SHARED_LIBS)
|
| 10 |
+
- set(AWSSDK_INSTALL_LIBDIR "${AWSSDK_INSTALL_BINDIR}")
|
| 11 |
+
# If installed CMake scripts are associated with dll library, define USE_IMPORT_EXPORT for customers
|
| 12 |
+
add_definitions(-DUSE_IMPORT_EXPORT)
|
| 13 |
+
endif()
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
# Compute the default installation root relative to this file.
|
| 17 |
+
-# from prefix/lib/cmake/AWSSDK/xx.cmake to prefix
|
| 18 |
+
get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 19 |
+
-get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${AWSSDK_DEFAULT_ROOT_DIR}" PATH)
|
| 20 |
+
get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${AWSSDK_DEFAULT_ROOT_DIR}" PATH)
|
| 21 |
+
get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${AWSSDK_DEFAULT_ROOT_DIR}" PATH)
|
| 22 |
+
get_filename_component(AWS_NATIVE_SDK_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" ABSOLUTE)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/fix-openssl3.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/cmake/compiler_settings.cmake b/cmake/compiler_settings.cmake
|
| 2 |
+
index cae5b92248..1aa728b01c 100644
|
| 3 |
+
--- a/cmake/compiler_settings.cmake
|
| 4 |
+
+++ b/cmake/compiler_settings.cmake
|
| 5 |
+
@@ -53,7 +53,7 @@ macro(set_gcc_flags)
|
| 6 |
+
endmacro()
|
| 7 |
+
|
| 8 |
+
macro(set_gcc_warnings)
|
| 9 |
+
- list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-Werror" "-pedantic" "-Wextra")
|
| 10 |
+
+ list(APPEND AWS_COMPILER_WARNINGS "-Wno-deprecated-declarations" "-Wall" "-Werror" "-pedantic" "-Wextra")
|
| 11 |
+
if(COMPILER_CLANG)
|
| 12 |
+
if(PLATFORM_ANDROID)
|
| 13 |
+
# when using clang with libc and API lower than 21 we need to include Android support headers and ignore the gnu-include-next warning.
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/generateFeatures.ps1
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[CmdletBinding()]
|
| 2 |
+
param(
|
| 3 |
+
[Parameter(Mandatory=$true)][string]$SourcesRef,
|
| 4 |
+
[Parameter(Mandatory=$false)][string]$PortDirectory = $PSScriptRoot,
|
| 5 |
+
[Parameter(Mandatory=$false)][string]$vcpkg = "$PSScriptRoot/../../vcpkg"
|
| 6 |
+
)
|
| 7 |
+
|
| 8 |
+
$ErrorActionPreference = "Stop"
|
| 9 |
+
|
| 10 |
+
$ManifestIn = "$PortDirectory/vcpkg.in.json"
|
| 11 |
+
$ManifestOut = "$PortDirectory/vcpkg.json"
|
| 12 |
+
$CMakeFragmentFile = "$PortDirectory/compute_build_only.cmake"
|
| 13 |
+
|
| 14 |
+
$ExtractedSources = "${env:TEMP}/aws-sdk-cpp-generateFeatures-$SourcesRef"
|
| 15 |
+
if (-not (Test-Path $ExtractedSources)) {
|
| 16 |
+
if (Test-Path "$ExtractedSources.tmp") {
|
| 17 |
+
Remove-Item -Force "$ExtractedSources.tmp"
|
| 18 |
+
}
|
| 19 |
+
git clone "https://github.com/aws/aws-sdk-cpp" "$ExtractedSources.tmp" | Out-Host
|
| 20 |
+
git -c "$ExtractedSources.tmp" checkout $SourcesRef
|
| 21 |
+
Move-Item "$ExtractedSources.tmp" "$ExtractedSources"
|
| 22 |
+
}
|
| 23 |
+
Write-Host "Using sources directory: $ExtractedSources"
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
$subfolders = Get-Item $ExtractedSources\aws-cpp-sdk-*
|
| 27 |
+
|
| 28 |
+
$manifest = Get-Content $ManifestIn | ConvertFrom-Json
|
| 29 |
+
$manifest | Add-Member `
|
| 30 |
+
-NotePropertyName '$note' `
|
| 31 |
+
-NotePropertyValue 'Automatically generated by generateFeatures.ps1'
|
| 32 |
+
$manifest | Add-Member -NotePropertyName 'features' -NotePropertyValue @{}
|
| 33 |
+
|
| 34 |
+
$cmakefragmenttext = @("# Automatically generated by generateFeatures.ps1")
|
| 35 |
+
|
| 36 |
+
function GetDescription($dir, $modulename)
|
| 37 |
+
{
|
| 38 |
+
if (Test-Path "$dir\CMakeLists.txt")
|
| 39 |
+
{
|
| 40 |
+
$descs = @(Select-String -Path "$dir\CMakeLists.txt" -Pattern "`"C\+\+ SDK for the AWS [^`"]*`"")
|
| 41 |
+
if ($descs.count -eq 1) {
|
| 42 |
+
$desc = $descs[0].Matches.Value -replace "`"",""
|
| 43 |
+
"$desc"
|
| 44 |
+
}
|
| 45 |
+
else { "C++ SDK for the AWS $modulename service" }
|
| 46 |
+
}
|
| 47 |
+
else { "C++ SDK for the AWS $modulename service" }
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
foreach ($subfolder in $subfolders)
|
| 51 |
+
{
|
| 52 |
+
$modulename = $subfolder.name -replace "^aws-cpp-sdk-",""
|
| 53 |
+
if ($modulename -match "-tests`$") { continue }
|
| 54 |
+
if ($modulename -match "-sample`$") { continue }
|
| 55 |
+
if ($modulename -eq "core") { continue }
|
| 56 |
+
|
| 57 |
+
$lowermodulename = $modulename.ToLower()
|
| 58 |
+
|
| 59 |
+
$manifest.features.Add("$lowermodulename", @{ description=(GetDescription $subfolder $modulename) })
|
| 60 |
+
|
| 61 |
+
$cmakefragmenttext += @(
|
| 62 |
+
"if(`"$lowermodulename`" IN_LIST FEATURES)",
|
| 63 |
+
" list(APPEND BUILD_ONLY $modulename)",
|
| 64 |
+
"endif()"
|
| 65 |
+
)
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
[IO.File]::WriteAllText($ManifestOut, (ConvertTo-Json -Depth 5 -InputObject $manifest))
|
| 69 |
+
|
| 70 |
+
Write-Verbose ($cmakefragmenttext -join "`n")
|
| 71 |
+
[IO.File]::WriteAllText($CMakeFragmentFile, ($cmakefragmenttext -join "`n") +"`n")
|
| 72 |
+
|
| 73 |
+
& $vcpkg format-manifest --feature-flags=-manifests $ManifestOut
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/patch-relocatable-rpath.patch
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index a653e38628..76d6067646 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -142,7 +142,6 @@ else()
|
| 6 |
+
endif()
|
| 7 |
+
|
| 8 |
+
# Add Linker search paths to RPATH so as to fix the problem where some linkers can't find cross-compiled dependent libraries in customer paths when linking executables.
|
| 9 |
+
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)
|
| 10 |
+
|
| 11 |
+
# build the sdk targets
|
| 12 |
+
project("aws-cpp-sdk-all" VERSION "${PROJECT_VERSION}" LANGUAGES CXX)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/portfile.cmake
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_buildpath_length_warning(37)
|
| 2 |
+
|
| 3 |
+
vcpkg_from_github(
|
| 4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 5 |
+
REPO aws/aws-sdk-cpp
|
| 6 |
+
REF a72b841c91bd421fbb6deb516400b51c06bc596c # 1.9.220
|
| 7 |
+
SHA512 9b7fa80ee155fa3c15e3e86c30b75c6019dc1672df711c4f656133fe005f104e4a30f5a99f1c0a0c6dab42007b5695169cd312bd0938b272c4c7b05765ce3421
|
| 8 |
+
PATCHES
|
| 9 |
+
patch-relocatable-rpath.patch
|
| 10 |
+
fix-aws-root.patch
|
| 11 |
+
fix-openssl3.patch
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" FORCE_SHARED_CRT)
|
| 15 |
+
|
| 16 |
+
set(EXTRA_ARGS)
|
| 17 |
+
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
|
| 18 |
+
set(rpath "@loader_path")
|
| 19 |
+
elseif (VCPKG_TARGET_IS_ANDROID)
|
| 20 |
+
set(EXTRA_ARGS "-DTARGET_ARCH=ANDROID"
|
| 21 |
+
"-DGIT_EXECUTABLE=--invalid-git-executable--"
|
| 22 |
+
"-DGIT_FOUND=TRUE"
|
| 23 |
+
"-DNDK_DIR=$ENV{ANDROID_NDK_HOME}"
|
| 24 |
+
"-DANDROID_BUILD_ZLIB=FALSE"
|
| 25 |
+
"-DANDROID_BUILD_CURL=FALSE"
|
| 26 |
+
"-DANDROID_BUILD_OPENSSL=FALSE"
|
| 27 |
+
)
|
| 28 |
+
else()
|
| 29 |
+
set(rpath "\$ORIGIN")
|
| 30 |
+
endif()
|
| 31 |
+
|
| 32 |
+
set(BUILD_ONLY core)
|
| 33 |
+
include(${CMAKE_CURRENT_LIST_DIR}/compute_build_only.cmake)
|
| 34 |
+
vcpkg_cmake_configure(
|
| 35 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 36 |
+
DISABLE_PARALLEL_CONFIGURE
|
| 37 |
+
OPTIONS
|
| 38 |
+
${EXTRA_ARGS}
|
| 39 |
+
"-DENABLE_UNITY_BUILD=ON"
|
| 40 |
+
"-DENABLE_TESTING=OFF"
|
| 41 |
+
"-DFORCE_SHARED_CRT=${FORCE_SHARED_CRT}"
|
| 42 |
+
"-DBUILD_ONLY=${BUILD_ONLY}"
|
| 43 |
+
"-DBUILD_DEPS=OFF"
|
| 44 |
+
"-DBUILD_SHARED_LIBS=OFF"
|
| 45 |
+
"-DCMAKE_INSTALL_RPATH=${rpath}"
|
| 46 |
+
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
|
| 47 |
+
)
|
| 48 |
+
vcpkg_cmake_install()
|
| 49 |
+
|
| 50 |
+
foreach(TARGET IN LISTS BUILD_ONLY)
|
| 51 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME "aws-cpp-sdk-${TARGET}" CONFIG_PATH "lib/cmake/aws-cpp-sdk-${TARGET}" DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
| 52 |
+
endforeach()
|
| 53 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME "AWSSDK" CONFIG_PATH "lib/cmake/AWSSDK")
|
| 54 |
+
|
| 55 |
+
vcpkg_copy_pdbs()
|
| 56 |
+
|
| 57 |
+
file(GLOB_RECURSE AWS_TARGETS "${CURRENT_PACKAGES_DIR}/share/*/*-targets-*.cmake")
|
| 58 |
+
foreach(AWS_TARGET IN LISTS AWS_TARGETS)
|
| 59 |
+
file(READ ${AWS_TARGET} _contents)
|
| 60 |
+
string(REGEX REPLACE
|
| 61 |
+
"bin\\/([A-Za-z0-9_.-]+\\.lib)"
|
| 62 |
+
"lib/\\1"
|
| 63 |
+
_contents "${_contents}")
|
| 64 |
+
file(WRITE ${AWS_TARGET} "${_contents}")
|
| 65 |
+
endforeach()
|
| 66 |
+
|
| 67 |
+
file(GLOB AWS_CONFIGS "${CURRENT_PACKAGES_DIR}/share/*/aws-cpp-sdk-*-config.cmake")
|
| 68 |
+
list(FILTER AWS_CONFIGS EXCLUDE REGEX "aws-cpp-sdk-core-config\\.cmake\$")
|
| 69 |
+
foreach(AWS_CONFIG IN LISTS AWS_CONFIGS)
|
| 70 |
+
file(READ "${AWS_CONFIG}" _contents)
|
| 71 |
+
file(WRITE "${AWS_CONFIG}" "include(CMakeFindDependencyMacro)\nfind_dependency(aws-cpp-sdk-core)\n${_contents}")
|
| 72 |
+
endforeach()
|
| 73 |
+
|
| 74 |
+
file(REMOVE_RECURSE
|
| 75 |
+
"${CURRENT_PACKAGES_DIR}/debug/include"
|
| 76 |
+
"${CURRENT_PACKAGES_DIR}/debug/share"
|
| 77 |
+
"${CURRENT_PACKAGES_DIR}/lib/pkgconfig"
|
| 78 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig"
|
| 79 |
+
"${CURRENT_PACKAGES_DIR}/nuget"
|
| 80 |
+
"${CURRENT_PACKAGES_DIR}/debug/nuget"
|
| 81 |
+
)
|
| 82 |
+
|
| 83 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
| 84 |
+
file(GLOB LIB_FILES ${CURRENT_PACKAGES_DIR}/bin/*.lib)
|
| 85 |
+
if(LIB_FILES)
|
| 86 |
+
file(COPY ${LIB_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
|
| 87 |
+
file(REMOVE ${LIB_FILES})
|
| 88 |
+
endif()
|
| 89 |
+
file(GLOB DEBUG_LIB_FILES ${CURRENT_PACKAGES_DIR}/debug/bin/*.lib)
|
| 90 |
+
if(DEBUG_LIB_FILES)
|
| 91 |
+
file(COPY ${DEBUG_LIB_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
|
| 92 |
+
file(REMOVE ${DEBUG_LIB_FILES})
|
| 93 |
+
endif()
|
| 94 |
+
|
| 95 |
+
file(APPEND "${CURRENT_PACKAGES_DIR}/include/aws/core/SDKConfig.h" "#ifndef USE_IMPORT_EXPORT\n#define USE_IMPORT_EXPORT\n#endif")
|
| 96 |
+
endif()
|
| 97 |
+
|
| 98 |
+
configure_file("${CURRENT_PORT_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)
|
| 99 |
+
|
| 100 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/usage
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:
|
| 2 |
+
|
| 3 |
+
When using AWSSDK, AWSSDK_ROOT_DIR must be defined by the user.
|
| 4 |
+
find_package(AWSSDK CONFIG COMPONENTS core dynamodb kinesis s3 REQUIRED)
|
| 5 |
+
target_include_directories(main PRIVATE ${AWSSDK_INCLUDE_DIRS})
|
| 6 |
+
target_link_libraries(main PRIVATE ${AWSSDK_LIBRARIES})
|
| 7 |
+
|
| 8 |
+
OR
|
| 9 |
+
|
| 10 |
+
find_package(aws-cpp-sdk-core REQUIRED)
|
| 11 |
+
target_include_directories(main PRIVATE aws-cpp-sdk-core)
|
| 12 |
+
target_link_libraries(main PRIVATE aws-cpp-sdk-core)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/aws-sdk-cpp/vcpkg.json
ADDED
|
@@ -0,0 +1,870 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$note": "Automatically generated by generateFeatures.ps1",
|
| 3 |
+
"name": "aws-sdk-cpp",
|
| 4 |
+
"version": "1.9.220",
|
| 5 |
+
"port-version": 1,
|
| 6 |
+
"description": "AWS SDK for C++",
|
| 7 |
+
"homepage": "https://github.com/aws/aws-sdk-cpp",
|
| 8 |
+
"supports": "!(windows & arm) & !uwp",
|
| 9 |
+
"dependencies": [
|
| 10 |
+
"aws-crt-cpp",
|
| 11 |
+
{
|
| 12 |
+
"name": "curl",
|
| 13 |
+
"platform": "!uwp & !windows"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "openssl",
|
| 17 |
+
"platform": "!uwp & !windows"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"name": "vcpkg-cmake",
|
| 21 |
+
"host": true
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name": "vcpkg-cmake-config",
|
| 25 |
+
"host": true
|
| 26 |
+
},
|
| 27 |
+
"zlib"
|
| 28 |
+
],
|
| 29 |
+
"default-features": [
|
| 30 |
+
"dynamodb",
|
| 31 |
+
"kinesis",
|
| 32 |
+
"s3"
|
| 33 |
+
],
|
| 34 |
+
"features": {
|
| 35 |
+
"access-management": {
|
| 36 |
+
"description": "C++ SDK for the AWS access-management service"
|
| 37 |
+
},
|
| 38 |
+
"accessanalyzer": {
|
| 39 |
+
"description": "C++ SDK for the AWS accessanalyzer service"
|
| 40 |
+
},
|
| 41 |
+
"acm": {
|
| 42 |
+
"description": "C++ SDK for the AWS acm service"
|
| 43 |
+
},
|
| 44 |
+
"acm-pca": {
|
| 45 |
+
"description": "C++ SDK for the AWS acm-pca service"
|
| 46 |
+
},
|
| 47 |
+
"alexaforbusiness": {
|
| 48 |
+
"description": "C++ SDK for the AWS alexaforbusiness service"
|
| 49 |
+
},
|
| 50 |
+
"amp": {
|
| 51 |
+
"description": "C++ SDK for the AWS amp service"
|
| 52 |
+
},
|
| 53 |
+
"amplify": {
|
| 54 |
+
"description": "C++ SDK for the AWS amplify service"
|
| 55 |
+
},
|
| 56 |
+
"amplifybackend": {
|
| 57 |
+
"description": "C++ SDK for the AWS amplifybackend service"
|
| 58 |
+
},
|
| 59 |
+
"apigateway": {
|
| 60 |
+
"description": "C++ SDK for the AWS apigateway service"
|
| 61 |
+
},
|
| 62 |
+
"apigatewaymanagementapi": {
|
| 63 |
+
"description": "C++ SDK for the AWS apigatewaymanagementapi service"
|
| 64 |
+
},
|
| 65 |
+
"apigatewayv2": {
|
| 66 |
+
"description": "C++ SDK for the AWS apigatewayv2 service"
|
| 67 |
+
},
|
| 68 |
+
"appconfig": {
|
| 69 |
+
"description": "C++ SDK for the AWS appconfig service"
|
| 70 |
+
},
|
| 71 |
+
"appflow": {
|
| 72 |
+
"description": "C++ SDK for the AWS appflow service"
|
| 73 |
+
},
|
| 74 |
+
"appintegrations": {
|
| 75 |
+
"description": "C++ SDK for the AWS appintegrations service"
|
| 76 |
+
},
|
| 77 |
+
"application-autoscaling": {
|
| 78 |
+
"description": "C++ SDK for the AWS application-autoscaling service"
|
| 79 |
+
},
|
| 80 |
+
"application-insights": {
|
| 81 |
+
"description": "C++ SDK for the AWS application-insights service"
|
| 82 |
+
},
|
| 83 |
+
"applicationcostprofiler": {
|
| 84 |
+
"description": "C++ SDK for the AWS applicationcostprofiler service"
|
| 85 |
+
},
|
| 86 |
+
"appmesh": {
|
| 87 |
+
"description": "C++ SDK for the AWS appmesh service"
|
| 88 |
+
},
|
| 89 |
+
"apprunner": {
|
| 90 |
+
"description": "C++ SDK for the AWS apprunner service"
|
| 91 |
+
},
|
| 92 |
+
"appstream": {
|
| 93 |
+
"description": "C++ SDK for the AWS appstream service"
|
| 94 |
+
},
|
| 95 |
+
"appsync": {
|
| 96 |
+
"description": "C++ SDK for the AWS appsync service"
|
| 97 |
+
},
|
| 98 |
+
"athena": {
|
| 99 |
+
"description": "C++ SDK for the AWS athena service"
|
| 100 |
+
},
|
| 101 |
+
"auditmanager": {
|
| 102 |
+
"description": "C++ SDK for the AWS auditmanager service"
|
| 103 |
+
},
|
| 104 |
+
"autoscaling": {
|
| 105 |
+
"description": "C++ SDK for the AWS autoscaling service"
|
| 106 |
+
},
|
| 107 |
+
"autoscaling-plans": {
|
| 108 |
+
"description": "C++ SDK for the AWS autoscaling-plans service"
|
| 109 |
+
},
|
| 110 |
+
"awsmigrationhub": {
|
| 111 |
+
"description": "C++ SDK for the AWS AWSMigrationHub service"
|
| 112 |
+
},
|
| 113 |
+
"awstransfer": {
|
| 114 |
+
"description": "C++ SDK for the AWS awstransfer service"
|
| 115 |
+
},
|
| 116 |
+
"backup": {
|
| 117 |
+
"description": "C++ SDK for the AWS backup service"
|
| 118 |
+
},
|
| 119 |
+
"batch": {
|
| 120 |
+
"description": "C++ SDK for the AWS batch service"
|
| 121 |
+
},
|
| 122 |
+
"braket": {
|
| 123 |
+
"description": "C++ SDK for the AWS braket service"
|
| 124 |
+
},
|
| 125 |
+
"budgets": {
|
| 126 |
+
"description": "C++ SDK for the AWS budgets service"
|
| 127 |
+
},
|
| 128 |
+
"ce": {
|
| 129 |
+
"description": "C++ SDK for the AWS ce service"
|
| 130 |
+
},
|
| 131 |
+
"chime": {
|
| 132 |
+
"description": "C++ SDK for the AWS chime service"
|
| 133 |
+
},
|
| 134 |
+
"cloud9": {
|
| 135 |
+
"description": "C++ SDK for the AWS cloud9 service"
|
| 136 |
+
},
|
| 137 |
+
"clouddirectory": {
|
| 138 |
+
"description": "C++ SDK for the AWS clouddirectory service"
|
| 139 |
+
},
|
| 140 |
+
"cloudformation": {
|
| 141 |
+
"description": "C++ SDK for the AWS cloudformation service"
|
| 142 |
+
},
|
| 143 |
+
"cloudfront": {
|
| 144 |
+
"description": "C++ SDK for the AWS cloudfront service"
|
| 145 |
+
},
|
| 146 |
+
"cloudhsm": {
|
| 147 |
+
"description": "C++ SDK for the AWS cloudhsm service"
|
| 148 |
+
},
|
| 149 |
+
"cloudhsmv2": {
|
| 150 |
+
"description": "C++ SDK for the AWS cloudhsmv2 service"
|
| 151 |
+
},
|
| 152 |
+
"cloudsearch": {
|
| 153 |
+
"description": "C++ SDK for the AWS cloudsearch service"
|
| 154 |
+
},
|
| 155 |
+
"cloudsearchdomain": {
|
| 156 |
+
"description": "C++ SDK for the AWS cloudsearchdomain service"
|
| 157 |
+
},
|
| 158 |
+
"cloudtrail": {
|
| 159 |
+
"description": "C++ SDK for the AWS cloudtrail service"
|
| 160 |
+
},
|
| 161 |
+
"codeartifact": {
|
| 162 |
+
"description": "C++ SDK for the AWS codeartifact service"
|
| 163 |
+
},
|
| 164 |
+
"codebuild": {
|
| 165 |
+
"description": "C++ SDK for the AWS codebuild service"
|
| 166 |
+
},
|
| 167 |
+
"codecommit": {
|
| 168 |
+
"description": "C++ SDK for the AWS codecommit service"
|
| 169 |
+
},
|
| 170 |
+
"codedeploy": {
|
| 171 |
+
"description": "C++ SDK for the AWS codedeploy service"
|
| 172 |
+
},
|
| 173 |
+
"codeguru-reviewer": {
|
| 174 |
+
"description": "C++ SDK for the AWS codeguru-reviewer service"
|
| 175 |
+
},
|
| 176 |
+
"codeguruprofiler": {
|
| 177 |
+
"description": "C++ SDK for the AWS codeguruprofiler service"
|
| 178 |
+
},
|
| 179 |
+
"codepipeline": {
|
| 180 |
+
"description": "C++ SDK for the AWS codepipeline service"
|
| 181 |
+
},
|
| 182 |
+
"codestar": {
|
| 183 |
+
"description": "C++ SDK for the AWS codestar service"
|
| 184 |
+
},
|
| 185 |
+
"codestar-connections": {
|
| 186 |
+
"description": "C++ SDK for the AWS codestar-connections service"
|
| 187 |
+
},
|
| 188 |
+
"codestar-notifications": {
|
| 189 |
+
"description": "C++ SDK for the AWS codestar-notifications service"
|
| 190 |
+
},
|
| 191 |
+
"cognito-identity": {
|
| 192 |
+
"description": "C++ SDK for the AWS cognito-identity service"
|
| 193 |
+
},
|
| 194 |
+
"cognito-idp": {
|
| 195 |
+
"description": "C++ SDK for the AWS cognito-idp service"
|
| 196 |
+
},
|
| 197 |
+
"cognito-sync": {
|
| 198 |
+
"description": "C++ SDK for the AWS cognito-sync service"
|
| 199 |
+
},
|
| 200 |
+
"comprehend": {
|
| 201 |
+
"description": "C++ SDK for the AWS comprehend service"
|
| 202 |
+
},
|
| 203 |
+
"comprehendmedical": {
|
| 204 |
+
"description": "C++ SDK for the AWS comprehendmedical service"
|
| 205 |
+
},
|
| 206 |
+
"compute-optimizer": {
|
| 207 |
+
"description": "C++ SDK for the AWS compute-optimizer service"
|
| 208 |
+
},
|
| 209 |
+
"config": {
|
| 210 |
+
"description": "C++ SDK for the AWS config service"
|
| 211 |
+
},
|
| 212 |
+
"connect": {
|
| 213 |
+
"description": "C++ SDK for the AWS connect service"
|
| 214 |
+
},
|
| 215 |
+
"connect-contact-lens": {
|
| 216 |
+
"description": "C++ SDK for the AWS connect-contact-lens service"
|
| 217 |
+
},
|
| 218 |
+
"connectparticipant": {
|
| 219 |
+
"description": "C++ SDK for the AWS connectparticipant service"
|
| 220 |
+
},
|
| 221 |
+
"cur": {
|
| 222 |
+
"description": "C++ SDK for the AWS cur service"
|
| 223 |
+
},
|
| 224 |
+
"customer-profiles": {
|
| 225 |
+
"description": "C++ SDK for the AWS customer-profiles service"
|
| 226 |
+
},
|
| 227 |
+
"databrew": {
|
| 228 |
+
"description": "C++ SDK for the AWS databrew service"
|
| 229 |
+
},
|
| 230 |
+
"dataexchange": {
|
| 231 |
+
"description": "C++ SDK for the AWS dataexchange service"
|
| 232 |
+
},
|
| 233 |
+
"datapipeline": {
|
| 234 |
+
"description": "C++ SDK for the AWS datapipeline service"
|
| 235 |
+
},
|
| 236 |
+
"datasync": {
|
| 237 |
+
"description": "C++ SDK for the AWS datasync service"
|
| 238 |
+
},
|
| 239 |
+
"dax": {
|
| 240 |
+
"description": "C++ SDK for the AWS dax service"
|
| 241 |
+
},
|
| 242 |
+
"detective": {
|
| 243 |
+
"description": "C++ SDK for the AWS detective service"
|
| 244 |
+
},
|
| 245 |
+
"devicefarm": {
|
| 246 |
+
"description": "C++ SDK for the AWS devicefarm service"
|
| 247 |
+
},
|
| 248 |
+
"devops-guru": {
|
| 249 |
+
"description": "C++ SDK for the AWS devops-guru service"
|
| 250 |
+
},
|
| 251 |
+
"directconnect": {
|
| 252 |
+
"description": "C++ SDK for the AWS directconnect service"
|
| 253 |
+
},
|
| 254 |
+
"discovery": {
|
| 255 |
+
"description": "C++ SDK for the AWS discovery service"
|
| 256 |
+
},
|
| 257 |
+
"dlm": {
|
| 258 |
+
"description": "C++ SDK for the AWS dlm service"
|
| 259 |
+
},
|
| 260 |
+
"dms": {
|
| 261 |
+
"description": "C++ SDK for the AWS dms service"
|
| 262 |
+
},
|
| 263 |
+
"docdb": {
|
| 264 |
+
"description": "C++ SDK for the AWS docdb service"
|
| 265 |
+
},
|
| 266 |
+
"ds": {
|
| 267 |
+
"description": "C++ SDK for the AWS ds service"
|
| 268 |
+
},
|
| 269 |
+
"dynamodb": {
|
| 270 |
+
"description": "C++ SDK for the AWS dynamodb service"
|
| 271 |
+
},
|
| 272 |
+
"dynamodbstreams": {
|
| 273 |
+
"description": "C++ SDK for the AWS dynamodbstreams service"
|
| 274 |
+
},
|
| 275 |
+
"ebs": {
|
| 276 |
+
"description": "C++ SDK for the AWS ebs service"
|
| 277 |
+
},
|
| 278 |
+
"ec2": {
|
| 279 |
+
"description": "C++ SDK for the AWS ec2 service"
|
| 280 |
+
},
|
| 281 |
+
"ec2-instance-connect": {
|
| 282 |
+
"description": "C++ SDK for the AWS ec2-instance-connect service"
|
| 283 |
+
},
|
| 284 |
+
"ecr": {
|
| 285 |
+
"description": "C++ SDK for the AWS ecr service"
|
| 286 |
+
},
|
| 287 |
+
"ecr-public": {
|
| 288 |
+
"description": "C++ SDK for the AWS ecr-public service"
|
| 289 |
+
},
|
| 290 |
+
"ecs": {
|
| 291 |
+
"description": "C++ SDK for the AWS ecs service"
|
| 292 |
+
},
|
| 293 |
+
"eks": {
|
| 294 |
+
"description": "C++ SDK for the AWS eks service"
|
| 295 |
+
},
|
| 296 |
+
"elastic-inference": {
|
| 297 |
+
"description": "C++ SDK for the AWS elastic-inference service"
|
| 298 |
+
},
|
| 299 |
+
"elasticache": {
|
| 300 |
+
"description": "C++ SDK for the AWS elasticache service"
|
| 301 |
+
},
|
| 302 |
+
"elasticbeanstalk": {
|
| 303 |
+
"description": "C++ SDK for the AWS elasticbeanstalk service"
|
| 304 |
+
},
|
| 305 |
+
"elasticfilesystem": {
|
| 306 |
+
"description": "C++ SDK for the AWS elasticfilesystem service"
|
| 307 |
+
},
|
| 308 |
+
"elasticloadbalancing": {
|
| 309 |
+
"description": "C++ SDK for the AWS elasticloadbalancing service"
|
| 310 |
+
},
|
| 311 |
+
"elasticloadbalancingv2": {
|
| 312 |
+
"description": "C++ SDK for the AWS elasticloadbalancingv2 service"
|
| 313 |
+
},
|
| 314 |
+
"elasticmapreduce": {
|
| 315 |
+
"description": "C++ SDK for the AWS elasticmapreduce service"
|
| 316 |
+
},
|
| 317 |
+
"elastictranscoder": {
|
| 318 |
+
"description": "C++ SDK for the AWS elastictranscoder service"
|
| 319 |
+
},
|
| 320 |
+
"email": {
|
| 321 |
+
"description": "C++ SDK for the AWS email service"
|
| 322 |
+
},
|
| 323 |
+
"emr-containers": {
|
| 324 |
+
"description": "C++ SDK for the AWS emr-containers service"
|
| 325 |
+
},
|
| 326 |
+
"es": {
|
| 327 |
+
"description": "C++ SDK for the AWS es service"
|
| 328 |
+
},
|
| 329 |
+
"eventbridge": {
|
| 330 |
+
"description": "C++ SDK for the AWS eventbridge service"
|
| 331 |
+
},
|
| 332 |
+
"events": {
|
| 333 |
+
"description": "C++ SDK for the AWS events service"
|
| 334 |
+
},
|
| 335 |
+
"finspace": {
|
| 336 |
+
"description": "C++ SDK for the AWS finspace service"
|
| 337 |
+
},
|
| 338 |
+
"finspace-data": {
|
| 339 |
+
"description": "C++ SDK for the AWS finspace-data service"
|
| 340 |
+
},
|
| 341 |
+
"firehose": {
|
| 342 |
+
"description": "C++ SDK for the AWS firehose service"
|
| 343 |
+
},
|
| 344 |
+
"fis": {
|
| 345 |
+
"description": "C++ SDK for the AWS fis service"
|
| 346 |
+
},
|
| 347 |
+
"fms": {
|
| 348 |
+
"description": "C++ SDK for the AWS fms service"
|
| 349 |
+
},
|
| 350 |
+
"forecast": {
|
| 351 |
+
"description": "C++ SDK for the AWS forecast service"
|
| 352 |
+
},
|
| 353 |
+
"forecastquery": {
|
| 354 |
+
"description": "C++ SDK for the AWS forecastquery service"
|
| 355 |
+
},
|
| 356 |
+
"frauddetector": {
|
| 357 |
+
"description": "C++ SDK for the AWS frauddetector service"
|
| 358 |
+
},
|
| 359 |
+
"fsx": {
|
| 360 |
+
"description": "C++ SDK for the AWS fsx service"
|
| 361 |
+
},
|
| 362 |
+
"gamelift": {
|
| 363 |
+
"description": "C++ SDK for the AWS gamelift service"
|
| 364 |
+
},
|
| 365 |
+
"glacier": {
|
| 366 |
+
"description": "C++ SDK for the AWS glacier service"
|
| 367 |
+
},
|
| 368 |
+
"globalaccelerator": {
|
| 369 |
+
"description": "C++ SDK for the AWS globalaccelerator service"
|
| 370 |
+
},
|
| 371 |
+
"glue": {
|
| 372 |
+
"description": "C++ SDK for the AWS glue service"
|
| 373 |
+
},
|
| 374 |
+
"greengrass": {
|
| 375 |
+
"description": "C++ SDK for the AWS greengrass service"
|
| 376 |
+
},
|
| 377 |
+
"greengrassv2": {
|
| 378 |
+
"description": "C++ SDK for the AWS greengrassv2 service"
|
| 379 |
+
},
|
| 380 |
+
"groundstation": {
|
| 381 |
+
"description": "C++ SDK for the AWS groundstation service"
|
| 382 |
+
},
|
| 383 |
+
"guardduty": {
|
| 384 |
+
"description": "C++ SDK for the AWS guardduty service"
|
| 385 |
+
},
|
| 386 |
+
"health": {
|
| 387 |
+
"description": "C++ SDK for the AWS health service"
|
| 388 |
+
},
|
| 389 |
+
"healthlake": {
|
| 390 |
+
"description": "C++ SDK for the AWS healthlake service"
|
| 391 |
+
},
|
| 392 |
+
"honeycode": {
|
| 393 |
+
"description": "C++ SDK for the AWS honeycode service"
|
| 394 |
+
},
|
| 395 |
+
"iam": {
|
| 396 |
+
"description": "C++ SDK for the AWS iam service"
|
| 397 |
+
},
|
| 398 |
+
"identity-management": {
|
| 399 |
+
"description": "C++ SDK for the AWS identity-management service"
|
| 400 |
+
},
|
| 401 |
+
"identitystore": {
|
| 402 |
+
"description": "C++ SDK for the AWS identitystore service"
|
| 403 |
+
},
|
| 404 |
+
"imagebuilder": {
|
| 405 |
+
"description": "C++ SDK for the AWS imagebuilder service"
|
| 406 |
+
},
|
| 407 |
+
"importexport": {
|
| 408 |
+
"description": "C++ SDK for the AWS importexport service"
|
| 409 |
+
},
|
| 410 |
+
"inspector": {
|
| 411 |
+
"description": "C++ SDK for the AWS inspector service"
|
| 412 |
+
},
|
| 413 |
+
"iot": {
|
| 414 |
+
"description": "C++ SDK for the AWS iot service"
|
| 415 |
+
},
|
| 416 |
+
"iot-data": {
|
| 417 |
+
"description": "C++ SDK for the AWS iot-data service"
|
| 418 |
+
},
|
| 419 |
+
"iot-jobs-data": {
|
| 420 |
+
"description": "C++ SDK for the AWS iot-jobs-data service"
|
| 421 |
+
},
|
| 422 |
+
"iot1click-devices": {
|
| 423 |
+
"description": "C++ SDK for the AWS iot1click-devices service"
|
| 424 |
+
},
|
| 425 |
+
"iot1click-projects": {
|
| 426 |
+
"description": "C++ SDK for the AWS iot1click-projects service"
|
| 427 |
+
},
|
| 428 |
+
"iotanalytics": {
|
| 429 |
+
"description": "C++ SDK for the AWS iotanalytics service"
|
| 430 |
+
},
|
| 431 |
+
"iotdeviceadvisor": {
|
| 432 |
+
"description": "C++ SDK for the AWS iotdeviceadvisor service"
|
| 433 |
+
},
|
| 434 |
+
"iotevents": {
|
| 435 |
+
"description": "C++ SDK for the AWS iotevents service"
|
| 436 |
+
},
|
| 437 |
+
"iotevents-data": {
|
| 438 |
+
"description": "C++ SDK for the AWS iotevents-data service"
|
| 439 |
+
},
|
| 440 |
+
"iotfleethub": {
|
| 441 |
+
"description": "C++ SDK for the AWS iotfleethub service"
|
| 442 |
+
},
|
| 443 |
+
"iotsecuretunneling": {
|
| 444 |
+
"description": "C++ SDK for the AWS iotsecuretunneling service"
|
| 445 |
+
},
|
| 446 |
+
"iotsitewise": {
|
| 447 |
+
"description": "C++ SDK for the AWS iotsitewise service"
|
| 448 |
+
},
|
| 449 |
+
"iotthingsgraph": {
|
| 450 |
+
"description": "C++ SDK for the AWS iotthingsgraph service"
|
| 451 |
+
},
|
| 452 |
+
"iotwireless": {
|
| 453 |
+
"description": "C++ SDK for the AWS iotwireless service"
|
| 454 |
+
},
|
| 455 |
+
"ivs": {
|
| 456 |
+
"description": "C++ SDK for the AWS ivs service"
|
| 457 |
+
},
|
| 458 |
+
"kafka": {
|
| 459 |
+
"description": "C++ SDK for the AWS kafka service"
|
| 460 |
+
},
|
| 461 |
+
"kendra": {
|
| 462 |
+
"description": "C++ SDK for the AWS kendra service"
|
| 463 |
+
},
|
| 464 |
+
"kinesis": {
|
| 465 |
+
"description": "C++ SDK for the AWS kinesis service"
|
| 466 |
+
},
|
| 467 |
+
"kinesis-video-archived-media": {
|
| 468 |
+
"description": "C++ SDK for the AWS kinesis-video-archived-media service"
|
| 469 |
+
},
|
| 470 |
+
"kinesis-video-media": {
|
| 471 |
+
"description": "C++ SDK for the AWS kinesis-video-media service"
|
| 472 |
+
},
|
| 473 |
+
"kinesis-video-signaling": {
|
| 474 |
+
"description": "C++ SDK for the AWS kinesis-video-signaling service"
|
| 475 |
+
},
|
| 476 |
+
"kinesisanalytics": {
|
| 477 |
+
"description": "C++ SDK for the AWS kinesisanalytics service"
|
| 478 |
+
},
|
| 479 |
+
"kinesisanalyticsv2": {
|
| 480 |
+
"description": "C++ SDK for the AWS kinesisanalyticsv2 service"
|
| 481 |
+
},
|
| 482 |
+
"kinesisvideo": {
|
| 483 |
+
"description": "C++ SDK for the AWS kinesisvideo service"
|
| 484 |
+
},
|
| 485 |
+
"kms": {
|
| 486 |
+
"description": "C++ SDK for the AWS kms service"
|
| 487 |
+
},
|
| 488 |
+
"lakeformation": {
|
| 489 |
+
"description": "C++ SDK for the AWS lakeformation service"
|
| 490 |
+
},
|
| 491 |
+
"lambda": {
|
| 492 |
+
"description": "C++ SDK for the AWS lambda service"
|
| 493 |
+
},
|
| 494 |
+
"lex": {
|
| 495 |
+
"description": "C++ SDK for the AWS lex service"
|
| 496 |
+
},
|
| 497 |
+
"lex-models": {
|
| 498 |
+
"description": "C++ SDK for the AWS lex-models service"
|
| 499 |
+
},
|
| 500 |
+
"lexv2-models": {
|
| 501 |
+
"description": "C++ SDK for the AWS lexv2-models service"
|
| 502 |
+
},
|
| 503 |
+
"lexv2-runtime": {
|
| 504 |
+
"description": "C++ SDK for the AWS lexv2-runtime service"
|
| 505 |
+
},
|
| 506 |
+
"license-manager": {
|
| 507 |
+
"description": "C++ SDK for the AWS license-manager service"
|
| 508 |
+
},
|
| 509 |
+
"lightsail": {
|
| 510 |
+
"description": "C++ SDK for the AWS lightsail service"
|
| 511 |
+
},
|
| 512 |
+
"location": {
|
| 513 |
+
"description": "C++ SDK for the AWS location service"
|
| 514 |
+
},
|
| 515 |
+
"logs": {
|
| 516 |
+
"description": "C++ SDK for the AWS logs service"
|
| 517 |
+
},
|
| 518 |
+
"lookoutequipment": {
|
| 519 |
+
"description": "C++ SDK for the AWS lookoutequipment service"
|
| 520 |
+
},
|
| 521 |
+
"lookoutmetrics": {
|
| 522 |
+
"description": "C++ SDK for the AWS lookoutmetrics service"
|
| 523 |
+
},
|
| 524 |
+
"lookoutvision": {
|
| 525 |
+
"description": "C++ SDK for the AWS lookoutvision service"
|
| 526 |
+
},
|
| 527 |
+
"machinelearning": {
|
| 528 |
+
"description": "C++ SDK for the AWS machinelearning service"
|
| 529 |
+
},
|
| 530 |
+
"macie": {
|
| 531 |
+
"description": "C++ SDK for the AWS macie service"
|
| 532 |
+
},
|
| 533 |
+
"macie2": {
|
| 534 |
+
"description": "C++ SDK for the AWS macie2 service"
|
| 535 |
+
},
|
| 536 |
+
"managedblockchain": {
|
| 537 |
+
"description": "C++ SDK for the AWS managedblockchain service"
|
| 538 |
+
},
|
| 539 |
+
"marketplace-catalog": {
|
| 540 |
+
"description": "C++ SDK for the AWS marketplace-catalog service"
|
| 541 |
+
},
|
| 542 |
+
"marketplace-entitlement": {
|
| 543 |
+
"description": "C++ SDK for the AWS marketplace-entitlement service"
|
| 544 |
+
},
|
| 545 |
+
"marketplacecommerceanalytics": {
|
| 546 |
+
"description": "C++ SDK for the AWS marketplacecommerceanalytics service"
|
| 547 |
+
},
|
| 548 |
+
"mediaconnect": {
|
| 549 |
+
"description": "C++ SDK for the AWS mediaconnect service"
|
| 550 |
+
},
|
| 551 |
+
"mediaconvert": {
|
| 552 |
+
"description": "C++ SDK for the AWS mediaconvert service"
|
| 553 |
+
},
|
| 554 |
+
"medialive": {
|
| 555 |
+
"description": "C++ SDK for the AWS medialive service"
|
| 556 |
+
},
|
| 557 |
+
"mediapackage": {
|
| 558 |
+
"description": "C++ SDK for the AWS mediapackage service"
|
| 559 |
+
},
|
| 560 |
+
"mediapackage-vod": {
|
| 561 |
+
"description": "C++ SDK for the AWS mediapackage-vod service"
|
| 562 |
+
},
|
| 563 |
+
"mediastore": {
|
| 564 |
+
"description": "C++ SDK for the AWS mediastore service"
|
| 565 |
+
},
|
| 566 |
+
"mediastore-data": {
|
| 567 |
+
"description": "C++ SDK for the AWS mediastore-data service"
|
| 568 |
+
},
|
| 569 |
+
"mediatailor": {
|
| 570 |
+
"description": "C++ SDK for the AWS mediatailor service"
|
| 571 |
+
},
|
| 572 |
+
"meteringmarketplace": {
|
| 573 |
+
"description": "C++ SDK for the AWS meteringmarketplace service"
|
| 574 |
+
},
|
| 575 |
+
"mgn": {
|
| 576 |
+
"description": "C++ SDK for the AWS mgn service"
|
| 577 |
+
},
|
| 578 |
+
"migrationhub-config": {
|
| 579 |
+
"description": "C++ SDK for the AWS migrationhub-config service"
|
| 580 |
+
},
|
| 581 |
+
"mobile": {
|
| 582 |
+
"description": "C++ SDK for the AWS mobile service"
|
| 583 |
+
},
|
| 584 |
+
"mobileanalytics": {
|
| 585 |
+
"description": "C++ SDK for the AWS mobileanalytics service"
|
| 586 |
+
},
|
| 587 |
+
"monitoring": {
|
| 588 |
+
"description": "C++ SDK for the AWS monitoring service"
|
| 589 |
+
},
|
| 590 |
+
"mq": {
|
| 591 |
+
"description": "C++ SDK for the AWS mq service"
|
| 592 |
+
},
|
| 593 |
+
"mturk-requester": {
|
| 594 |
+
"description": "C++ SDK for the AWS mturk-requester service"
|
| 595 |
+
},
|
| 596 |
+
"mwaa": {
|
| 597 |
+
"description": "C++ SDK for the AWS mwaa service"
|
| 598 |
+
},
|
| 599 |
+
"neptune": {
|
| 600 |
+
"description": "C++ SDK for the AWS neptune service"
|
| 601 |
+
},
|
| 602 |
+
"network-firewall": {
|
| 603 |
+
"description": "C++ SDK for the AWS network-firewall service"
|
| 604 |
+
},
|
| 605 |
+
"networkmanager": {
|
| 606 |
+
"description": "C++ SDK for the AWS networkmanager service"
|
| 607 |
+
},
|
| 608 |
+
"nimble": {
|
| 609 |
+
"description": "C++ SDK for the AWS nimble service"
|
| 610 |
+
},
|
| 611 |
+
"opsworks": {
|
| 612 |
+
"description": "C++ SDK for the AWS opsworks service"
|
| 613 |
+
},
|
| 614 |
+
"opsworkscm": {
|
| 615 |
+
"description": "C++ SDK for the AWS opsworkscm service"
|
| 616 |
+
},
|
| 617 |
+
"organizations": {
|
| 618 |
+
"description": "C++ SDK for the AWS organizations service"
|
| 619 |
+
},
|
| 620 |
+
"outposts": {
|
| 621 |
+
"description": "C++ SDK for the AWS outposts service"
|
| 622 |
+
},
|
| 623 |
+
"personalize": {
|
| 624 |
+
"description": "C++ SDK for the AWS personalize service"
|
| 625 |
+
},
|
| 626 |
+
"personalize-events": {
|
| 627 |
+
"description": "C++ SDK for the AWS personalize-events service"
|
| 628 |
+
},
|
| 629 |
+
"personalize-runtime": {
|
| 630 |
+
"description": "C++ SDK for the AWS personalize-runtime service"
|
| 631 |
+
},
|
| 632 |
+
"pi": {
|
| 633 |
+
"description": "C++ SDK for the AWS pi service"
|
| 634 |
+
},
|
| 635 |
+
"pinpoint": {
|
| 636 |
+
"description": "C++ SDK for the AWS pinpoint service"
|
| 637 |
+
},
|
| 638 |
+
"pinpoint-email": {
|
| 639 |
+
"description": "C++ SDK for the AWS pinpoint-email service"
|
| 640 |
+
},
|
| 641 |
+
"polly": {
|
| 642 |
+
"description": "C++ SDK for the AWS polly service"
|
| 643 |
+
},
|
| 644 |
+
"pricing": {
|
| 645 |
+
"description": "C++ SDK for the AWS pricing service"
|
| 646 |
+
},
|
| 647 |
+
"qldb": {
|
| 648 |
+
"description": "C++ SDK for the AWS qldb service"
|
| 649 |
+
},
|
| 650 |
+
"qldb-session": {
|
| 651 |
+
"description": "C++ SDK for the AWS qldb-session service"
|
| 652 |
+
},
|
| 653 |
+
"queues": {
|
| 654 |
+
"description": "C++ SDK for the AWS queues service"
|
| 655 |
+
},
|
| 656 |
+
"quicksight": {
|
| 657 |
+
"description": "C++ SDK for the AWS quicksight service"
|
| 658 |
+
},
|
| 659 |
+
"ram": {
|
| 660 |
+
"description": "C++ SDK for the AWS ram service"
|
| 661 |
+
},
|
| 662 |
+
"rds": {
|
| 663 |
+
"description": "C++ SDK for the AWS rds service"
|
| 664 |
+
},
|
| 665 |
+
"rds-data": {
|
| 666 |
+
"description": "C++ SDK for the AWS rds-data service"
|
| 667 |
+
},
|
| 668 |
+
"redshift": {
|
| 669 |
+
"description": "C++ SDK for the AWS redshift service"
|
| 670 |
+
},
|
| 671 |
+
"redshift-data": {
|
| 672 |
+
"description": "C++ SDK for the AWS redshift-data service"
|
| 673 |
+
},
|
| 674 |
+
"rekognition": {
|
| 675 |
+
"description": "C++ SDK for the AWS rekognition service"
|
| 676 |
+
},
|
| 677 |
+
"resource-groups": {
|
| 678 |
+
"description": "C++ SDK for the AWS resource-groups service"
|
| 679 |
+
},
|
| 680 |
+
"resourcegroupstaggingapi": {
|
| 681 |
+
"description": "C++ SDK for the AWS resourcegroupstaggingapi service"
|
| 682 |
+
},
|
| 683 |
+
"robomaker": {
|
| 684 |
+
"description": "C++ SDK for the AWS robomaker service"
|
| 685 |
+
},
|
| 686 |
+
"route53": {
|
| 687 |
+
"description": "C++ SDK for the AWS route53 service"
|
| 688 |
+
},
|
| 689 |
+
"route53domains": {
|
| 690 |
+
"description": "C++ SDK for the AWS route53domains service"
|
| 691 |
+
},
|
| 692 |
+
"route53resolver": {
|
| 693 |
+
"description": "C++ SDK for the AWS route53resolver service"
|
| 694 |
+
},
|
| 695 |
+
"s3": {
|
| 696 |
+
"description": "C++ SDK for the AWS s3 service"
|
| 697 |
+
},
|
| 698 |
+
"s3-crt": {
|
| 699 |
+
"description": "C++ SDK for the AWS s3-crt service"
|
| 700 |
+
},
|
| 701 |
+
"s3-encryption": {
|
| 702 |
+
"description": "C++ SDK for the AWS s3-encryption service"
|
| 703 |
+
},
|
| 704 |
+
"s3control": {
|
| 705 |
+
"description": "C++ SDK for the AWS s3control service"
|
| 706 |
+
},
|
| 707 |
+
"s3outposts": {
|
| 708 |
+
"description": "C++ SDK for the AWS s3outposts service"
|
| 709 |
+
},
|
| 710 |
+
"sagemaker": {
|
| 711 |
+
"description": "C++ SDK for the AWS sagemaker service"
|
| 712 |
+
},
|
| 713 |
+
"sagemaker-a2i-runtime": {
|
| 714 |
+
"description": "C++ SDK for the AWS sagemaker-a2i-runtime service"
|
| 715 |
+
},
|
| 716 |
+
"sagemaker-edge": {
|
| 717 |
+
"description": "C++ SDK for the AWS sagemaker-edge service"
|
| 718 |
+
},
|
| 719 |
+
"sagemaker-featurestore-runtime": {
|
| 720 |
+
"description": "C++ SDK for the AWS sagemaker-featurestore-runtime service"
|
| 721 |
+
},
|
| 722 |
+
"sagemaker-runtime": {
|
| 723 |
+
"description": "C++ SDK for the AWS sagemaker-runtime service"
|
| 724 |
+
},
|
| 725 |
+
"savingsplans": {
|
| 726 |
+
"description": "C++ SDK for the AWS savingsplans service"
|
| 727 |
+
},
|
| 728 |
+
"schemas": {
|
| 729 |
+
"description": "C++ SDK for the AWS schemas service"
|
| 730 |
+
},
|
| 731 |
+
"sdb": {
|
| 732 |
+
"description": "C++ SDK for the AWS sdb service"
|
| 733 |
+
},
|
| 734 |
+
"secretsmanager": {
|
| 735 |
+
"description": "C++ SDK for the AWS secretsmanager service"
|
| 736 |
+
},
|
| 737 |
+
"securityhub": {
|
| 738 |
+
"description": "C++ SDK for the AWS securityhub service"
|
| 739 |
+
},
|
| 740 |
+
"serverlessrepo": {
|
| 741 |
+
"description": "C++ SDK for the AWS serverlessrepo service"
|
| 742 |
+
},
|
| 743 |
+
"service-quotas": {
|
| 744 |
+
"description": "C++ SDK for the AWS service-quotas service"
|
| 745 |
+
},
|
| 746 |
+
"servicecatalog": {
|
| 747 |
+
"description": "C++ SDK for the AWS servicecatalog service"
|
| 748 |
+
},
|
| 749 |
+
"servicecatalog-appregistry": {
|
| 750 |
+
"description": "C++ SDK for the AWS servicecatalog-appregistry service"
|
| 751 |
+
},
|
| 752 |
+
"servicediscovery": {
|
| 753 |
+
"description": "C++ SDK for the AWS servicediscovery service"
|
| 754 |
+
},
|
| 755 |
+
"sesv2": {
|
| 756 |
+
"description": "C++ SDK for the AWS sesv2 service"
|
| 757 |
+
},
|
| 758 |
+
"shield": {
|
| 759 |
+
"description": "C++ SDK for the AWS shield service"
|
| 760 |
+
},
|
| 761 |
+
"signer": {
|
| 762 |
+
"description": "C++ SDK for the AWS signer service"
|
| 763 |
+
},
|
| 764 |
+
"sms": {
|
| 765 |
+
"description": "C++ SDK for the AWS sms service"
|
| 766 |
+
},
|
| 767 |
+
"sms-voice": {
|
| 768 |
+
"description": "C++ SDK for the AWS sms-voice service"
|
| 769 |
+
},
|
| 770 |
+
"snowball": {
|
| 771 |
+
"description": "C++ SDK for the AWS snowball service"
|
| 772 |
+
},
|
| 773 |
+
"sns": {
|
| 774 |
+
"description": "C++ SDK for the AWS sns service"
|
| 775 |
+
},
|
| 776 |
+
"sqs": {
|
| 777 |
+
"description": "C++ SDK for the AWS sqs service"
|
| 778 |
+
},
|
| 779 |
+
"ssm": {
|
| 780 |
+
"description": "C++ SDK for the AWS ssm service"
|
| 781 |
+
},
|
| 782 |
+
"ssm-contacts": {
|
| 783 |
+
"description": "C++ SDK for the AWS ssm-contacts service"
|
| 784 |
+
},
|
| 785 |
+
"ssm-incidents": {
|
| 786 |
+
"description": "C++ SDK for the AWS ssm-incidents service"
|
| 787 |
+
},
|
| 788 |
+
"sso": {
|
| 789 |
+
"description": "C++ SDK for the AWS sso service"
|
| 790 |
+
},
|
| 791 |
+
"sso-admin": {
|
| 792 |
+
"description": "C++ SDK for the AWS sso-admin service"
|
| 793 |
+
},
|
| 794 |
+
"sso-oidc": {
|
| 795 |
+
"description": "C++ SDK for the AWS sso-oidc service"
|
| 796 |
+
},
|
| 797 |
+
"states": {
|
| 798 |
+
"description": "C++ SDK for the AWS states service"
|
| 799 |
+
},
|
| 800 |
+
"storagegateway": {
|
| 801 |
+
"description": "C++ SDK for the AWS storagegateway service"
|
| 802 |
+
},
|
| 803 |
+
"sts": {
|
| 804 |
+
"description": "C++ SDK for the AWS sts service"
|
| 805 |
+
},
|
| 806 |
+
"support": {
|
| 807 |
+
"description": "C++ SDK for the AWS support service"
|
| 808 |
+
},
|
| 809 |
+
"swf": {
|
| 810 |
+
"description": "C++ SDK for the AWS swf service"
|
| 811 |
+
},
|
| 812 |
+
"synthetics": {
|
| 813 |
+
"description": "C++ SDK for the AWS synthetics service"
|
| 814 |
+
},
|
| 815 |
+
"text-to-speech": {
|
| 816 |
+
"description": "C++ SDK for the AWS text-to-speech service"
|
| 817 |
+
},
|
| 818 |
+
"textract": {
|
| 819 |
+
"description": "C++ SDK for the AWS textract service"
|
| 820 |
+
},
|
| 821 |
+
"timestream-query": {
|
| 822 |
+
"description": "C++ SDK for the AWS timestream-query service"
|
| 823 |
+
},
|
| 824 |
+
"timestream-write": {
|
| 825 |
+
"description": "C++ SDK for the AWS timestream-write service"
|
| 826 |
+
},
|
| 827 |
+
"transcribe": {
|
| 828 |
+
"description": "C++ SDK for the AWS transcribe service"
|
| 829 |
+
},
|
| 830 |
+
"transcribestreaming": {
|
| 831 |
+
"description": "C++ SDK for the AWS transcribestreaming service"
|
| 832 |
+
},
|
| 833 |
+
"transfer": {
|
| 834 |
+
"description": "C++ SDK for the AWS transfer service"
|
| 835 |
+
},
|
| 836 |
+
"translate": {
|
| 837 |
+
"description": "C++ SDK for the AWS translate service"
|
| 838 |
+
},
|
| 839 |
+
"waf": {
|
| 840 |
+
"description": "C++ SDK for the AWS waf service"
|
| 841 |
+
},
|
| 842 |
+
"waf-regional": {
|
| 843 |
+
"description": "C++ SDK for the AWS waf-regional service"
|
| 844 |
+
},
|
| 845 |
+
"wafv2": {
|
| 846 |
+
"description": "C++ SDK for the AWS wafv2 service"
|
| 847 |
+
},
|
| 848 |
+
"wellarchitected": {
|
| 849 |
+
"description": "C++ SDK for the AWS wellarchitected service"
|
| 850 |
+
},
|
| 851 |
+
"workdocs": {
|
| 852 |
+
"description": "C++ SDK for the AWS workdocs service"
|
| 853 |
+
},
|
| 854 |
+
"worklink": {
|
| 855 |
+
"description": "C++ SDK for the AWS worklink service"
|
| 856 |
+
},
|
| 857 |
+
"workmail": {
|
| 858 |
+
"description": "C++ SDK for the AWS workmail service"
|
| 859 |
+
},
|
| 860 |
+
"workmailmessageflow": {
|
| 861 |
+
"description": "C++ SDK for the AWS workmailmessageflow service"
|
| 862 |
+
},
|
| 863 |
+
"workspaces": {
|
| 864 |
+
"description": "C++ SDK for the AWS workspaces service"
|
| 865 |
+
},
|
| 866 |
+
"xray": {
|
| 867 |
+
"description": "C++ SDK for the AWS xray service"
|
| 868 |
+
}
|
| 869 |
+
}
|
| 870 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azmq/portfile.cmake
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO zeromq/azmq
|
| 4 |
+
REF 6bb101eecb357ad9735ebc36e276b7526652d42d # commit on 2019-05-01
|
| 5 |
+
SHA512 18812fd73c3c57aca8b17c2df0af01afb7864253d6ac6ce042e01ef04e81dd454438c9d01f5bb0fd7a4a445082a2eb3dd334ca1e05dafbe4ba602cad95ce7134
|
| 6 |
+
HEAD_REF master
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
file(COPY ${SOURCE_PATH}/azmq DESTINATION ${CURRENT_PACKAGES_DIR}/include/)
|
| 10 |
+
|
| 11 |
+
file(INSTALL
|
| 12 |
+
${SOURCE_PATH}/LICENSE-BOOST_1_0
|
| 13 |
+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azmq/vcpkg.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "azmq",
|
| 3 |
+
"version-string": "2020-03-03",
|
| 4 |
+
"port-version": 1,
|
| 5 |
+
"description": [
|
| 6 |
+
"Boost Asio style bindings for ZeroMQ",
|
| 7 |
+
"This library is built on top of ZeroMQ's standard C interface and is intended to work well with C++ applications which use the Boost libraries in general, and Asio in particular.",
|
| 8 |
+
"The main abstraction exposed by the library is azmq::socket which provides an Asio style socket interface to the underlying zeromq socket and interfaces with Asio's io_service(). The socket implementation participates in the io_service's reactor for asynchronous IO and may be freely mixed with other Asio socket types (raw TCP/UDP/Serial/etc.)."
|
| 9 |
+
],
|
| 10 |
+
"homepage": "https://github.com/zeromq/azmq",
|
| 11 |
+
"dependencies": [
|
| 12 |
+
"boost-asio",
|
| 13 |
+
"boost-assert",
|
| 14 |
+
"boost-config",
|
| 15 |
+
"boost-container",
|
| 16 |
+
"boost-format",
|
| 17 |
+
"boost-intrusive",
|
| 18 |
+
"boost-iterator",
|
| 19 |
+
"boost-lexical-cast",
|
| 20 |
+
"boost-logic",
|
| 21 |
+
"boost-optional",
|
| 22 |
+
"boost-random",
|
| 23 |
+
"boost-range",
|
| 24 |
+
"boost-regex",
|
| 25 |
+
"boost-system",
|
| 26 |
+
"boost-thread",
|
| 27 |
+
"boost-utility",
|
| 28 |
+
"zeromq"
|
| 29 |
+
]
|
| 30 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/disable-error.patch
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/configs/azure_iot_build_rules.cmake b/configs/azure_iot_build_rules.cmake
|
| 2 |
+
index be3e14fe..aa402902 100644
|
| 3 |
+
--- a/configs/azure_iot_build_rules.cmake
|
| 4 |
+
+++ b/configs/azure_iot_build_rules.cmake
|
| 5 |
+
@@ -71,8 +71,6 @@ if(MSVC)
|
| 6 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
|
| 7 |
+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
|
| 8 |
+
elseif(UNIX) #LINUX OR APPLE
|
| 9 |
+
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
| 10 |
+
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
| 11 |
+
if(NOT (IN_OPENWRT OR APPLE))
|
| 12 |
+
set (CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L ${CMAKE_C_FLAGS}")
|
| 13 |
+
endif()
|
| 14 |
+
@@ -191,12 +189,6 @@ endfunction()
|
| 15 |
+
IF((WIN32) AND (NOT(MINGW)))
|
| 16 |
+
#windows needs this define
|
| 17 |
+
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
| 18 |
+
- # Make warning as error
|
| 19 |
+
- add_definitions(/WX)
|
| 20 |
+
-ELSE()
|
| 21 |
+
- # Make warning as error
|
| 22 |
+
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
| 23 |
+
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
| 24 |
+
ENDIF()
|
| 25 |
+
|
| 26 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-install-location-preview.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 25bbf383..31ca2da2 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -678,7 +678,7 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
| 6 |
+
set(CMAKE_INSTALL_LIBDIR "lib")
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
-set(package_location "cmake")
|
| 10 |
+
+set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
|
| 11 |
+
|
| 12 |
+
if(${build_as_dynamic})
|
| 13 |
+
set(targets aziotsharedutil aziotsharedutil_dll)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-install-location.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index deeaae7d..c0c84275 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -689,7 +689,7 @@ install (TARGETS ${targets} EXPORT aziotsharedutilTargets
|
| 6 |
+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
| 7 |
+
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azureiot
|
| 8 |
+
)
|
| 9 |
+
-install (FILES ${source_h_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azure_c_shared_utility)
|
| 10 |
+
+install (FILES ${source_h_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azureiot/azure_c_shared_utility)
|
| 11 |
+
install (FILES ${micromock_h_files_full_path} ${INSTALL_H_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azureiot)
|
| 12 |
+
|
| 13 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-utilityFunctions-conditions-preview.patch
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/configs/azure_c_shared_utilityFunctions.cmake b/configs/azure_c_shared_utilityFunctions.cmake
|
| 2 |
+
index e85defa..7f450ab 100644
|
| 3 |
+
--- a/configs/azure_c_shared_utilityFunctions.cmake
|
| 4 |
+
+++ b/configs/azure_c_shared_utilityFunctions.cmake
|
| 5 |
+
@@ -2,11 +2,11 @@
|
| 6 |
+
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
| 7 |
+
|
| 8 |
+
function(target_link_libraries_with_arg_prefix arg_prefix whatIsBuilding lib)
|
| 9 |
+
- if(${arg_prefix} STREQUAL "debug")
|
| 10 |
+
+ if(arg_prefix STREQUAL "debug")
|
| 11 |
+
target_link_libraries(${whatIsBuilding} debug ${lib})
|
| 12 |
+
- elseif(${arg_prefix} STREQUAL "optimized")
|
| 13 |
+
+ elseif(arg_prefix STREQUAL "optimized")
|
| 14 |
+
target_link_libraries(${whatIsBuilding} optimized ${lib})
|
| 15 |
+
- elseif(${arg_prefix} STREQUAL "general")
|
| 16 |
+
+ elseif(arg_prefix STREQUAL "general")
|
| 17 |
+
target_link_libraries(${whatIsBuilding} general ${lib})
|
| 18 |
+
else()
|
| 19 |
+
target_link_libraries(${whatIsBuilding} ${lib})
|
| 20 |
+
@@ -43,13 +43,13 @@ function(windows_unittests_add_dll whatIsBuilding)
|
| 21 |
+
set(ARG_PREFIX "none")
|
| 22 |
+
foreach(f ${ARGN})
|
| 23 |
+
set(skip_to_next FALSE)
|
| 24 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 25 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 26 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 27 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 28 |
+
set(ARG_PREFIX "none")
|
| 29 |
+
#also unset all the other states
|
| 30 |
+
set(skip_to_next TRUE)
|
| 31 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 32 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 33 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 34 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 35 |
+
set(skip_to_next TRUE)
|
| 36 |
+
@@ -57,7 +57,7 @@ function(windows_unittests_add_dll whatIsBuilding)
|
| 37 |
+
|
| 38 |
+
if(NOT skip_to_next)
|
| 39 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 40 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 41 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 42 |
+
SET(ARG_PREFIX ${f})
|
| 43 |
+
else()
|
| 44 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_dll ${f})
|
| 45 |
+
@@ -90,13 +90,13 @@ function(windows_unittests_add_exe whatIsBuilding)
|
| 46 |
+
set(ARG_PREFIX "none")
|
| 47 |
+
foreach(f ${ARGN})
|
| 48 |
+
set(skip_to_next FALSE)
|
| 49 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 50 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 51 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 52 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 53 |
+
set(ARG_PREFIX "none")
|
| 54 |
+
#also unset all the other states
|
| 55 |
+
set(skip_to_next TRUE)
|
| 56 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 57 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 58 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 59 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 60 |
+
set(skip_to_next TRUE)
|
| 61 |
+
@@ -104,7 +104,7 @@ function(windows_unittests_add_exe whatIsBuilding)
|
| 62 |
+
|
| 63 |
+
if(NOT skip_to_next)
|
| 64 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 65 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 66 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 67 |
+
SET(ARG_PREFIX ${f})
|
| 68 |
+
else()
|
| 69 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 70 |
+
@@ -150,14 +150,14 @@ function(linux_unittests_add_exe whatIsBuilding)
|
| 71 |
+
set(ARG_PREFIX "none")
|
| 72 |
+
foreach(f ${ARGN})
|
| 73 |
+
set(skip_to_next FALSE)
|
| 74 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 75 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 76 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 77 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 78 |
+
set(ARG_PREFIX "none")
|
| 79 |
+
set(skip_to_next TRUE)
|
| 80 |
+
#also unset all the other states
|
| 81 |
+
|
| 82 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 83 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 84 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 85 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 86 |
+
set(skip_to_next TRUE)
|
| 87 |
+
@@ -165,7 +165,7 @@ function(linux_unittests_add_exe whatIsBuilding)
|
| 88 |
+
|
| 89 |
+
if(NOT skip_to_next)
|
| 90 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 91 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 92 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 93 |
+
SET(ARG_PREFIX ${f})
|
| 94 |
+
else()
|
| 95 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 96 |
+
@@ -184,7 +184,7 @@ function(linux_unittests_add_exe whatIsBuilding)
|
| 97 |
+
|
| 98 |
+
if(${run_valgrind})
|
| 99 |
+
find_program(VALGRIND_FOUND NAMES valgrind)
|
| 100 |
+
- if(${VALGRIND_FOUND} STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 101 |
+
+ if(VALGRIND_FOUND STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 102 |
+
message(WARNING "run_valgrind was TRUE, but valgrind was not found - there will be no tests run under valgrind")
|
| 103 |
+
else()
|
| 104 |
+
add_test(NAME ${whatIsBuilding}_valgrind COMMAND valgrind --num-callers=100 --error-exitcode=1 --leak-check=full --track-origins=yes ${VALGRIND_SUPPRESSIONS_FILE_EXTRA_PARAMETER} $<TARGET_FILE:${whatIsBuilding}_exe>)
|
| 105 |
+
@@ -307,13 +307,13 @@ function(c_windows_unittests_add_dll whatIsBuilding folder)
|
| 106 |
+
set(ARG_PREFIX "none")
|
| 107 |
+
foreach(f ${ARGN})
|
| 108 |
+
set(skip_to_next FALSE)
|
| 109 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 110 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 111 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 112 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 113 |
+
set(ARG_PREFIX "none")
|
| 114 |
+
#also unset all the other states
|
| 115 |
+
set(skip_to_next TRUE)
|
| 116 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 117 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 118 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 119 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 120 |
+
set(skip_to_next TRUE)
|
| 121 |
+
@@ -321,7 +321,7 @@ function(c_windows_unittests_add_dll whatIsBuilding folder)
|
| 122 |
+
|
| 123 |
+
if(NOT skip_to_next)
|
| 124 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 125 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 126 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 127 |
+
SET(ARG_PREFIX ${f})
|
| 128 |
+
else()
|
| 129 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_dll ${f})
|
| 130 |
+
@@ -369,13 +369,13 @@ function(c_windows_unittests_add_exe whatIsBuilding folder)
|
| 131 |
+
set(ARG_PREFIX "none")
|
| 132 |
+
foreach(f ${ARGN})
|
| 133 |
+
set(skip_to_next FALSE)
|
| 134 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 135 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 136 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 137 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 138 |
+
set(ARG_PREFIX "none")
|
| 139 |
+
#also unset all the other states
|
| 140 |
+
set(skip_to_next TRUE)
|
| 141 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 142 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 143 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 144 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 145 |
+
set(skip_to_next TRUE)
|
| 146 |
+
@@ -383,7 +383,7 @@ function(c_windows_unittests_add_exe whatIsBuilding folder)
|
| 147 |
+
|
| 148 |
+
if(NOT skip_to_next)
|
| 149 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 150 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 151 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 152 |
+
SET(ARG_PREFIX ${f})
|
| 153 |
+
else()
|
| 154 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 155 |
+
@@ -429,13 +429,13 @@ function(c_linux_unittests_add_exe whatIsBuilding folder)
|
| 156 |
+
set(ARG_PREFIX "none")
|
| 157 |
+
foreach(f ${ARGN})
|
| 158 |
+
set(skip_to_next FALSE)
|
| 159 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 160 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 161 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 162 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 163 |
+
set(ARG_PREFIX "none")
|
| 164 |
+
#also unset all the other states
|
| 165 |
+
set(skip_to_next TRUE)
|
| 166 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 167 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 168 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 169 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 170 |
+
set(skip_to_next TRUE)
|
| 171 |
+
@@ -443,7 +443,7 @@ function(c_linux_unittests_add_exe whatIsBuilding folder)
|
| 172 |
+
|
| 173 |
+
if(NOT skip_to_next)
|
| 174 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 175 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 176 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 177 |
+
SET(ARG_PREFIX ${f})
|
| 178 |
+
else()
|
| 179 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 180 |
+
@@ -462,7 +462,7 @@ function(c_linux_unittests_add_exe whatIsBuilding folder)
|
| 181 |
+
|
| 182 |
+
if(${run_valgrind})
|
| 183 |
+
find_program(VALGRIND_FOUND NAMES valgrind)
|
| 184 |
+
- if(${VALGRIND_FOUND} STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 185 |
+
+ if(VALGRIND_FOUND STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 186 |
+
message(WARNING "run_valgrind was TRUE, but valgrind was not found - there will be no tests run under valgrind")
|
| 187 |
+
else()
|
| 188 |
+
add_test(NAME ${whatIsBuilding}_valgrind COMMAND valgrind --gen-suppressions=all --num-callers=100 --error-exitcode=1 --leak-check=full --track-origins=yes ${VALGRIND_SUPPRESSIONS_FILE_EXTRA_PARAMETER} $<TARGET_FILE:${whatIsBuilding}_exe>)
|
| 189 |
+
@@ -546,29 +546,29 @@ function(compile_c_test_artifacts_as whatIsBuilding compileAsWhat)
|
| 190 |
+
(("${whatIsBuilding}" MATCHES ".*int.*") AND ${run_int_tests})
|
| 191 |
+
)
|
| 192 |
+
if (${use_cppunittest})
|
| 193 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 194 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 195 |
+
compileTargetAsC99(${whatIsBuilding}_dll)
|
| 196 |
+
compileTargetAsC99(${whatIsBuilding}_testsonly_lib)
|
| 197 |
+
endif()
|
| 198 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 199 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 200 |
+
compileTargetAsC11(${whatIsBuilding}_dll)
|
| 201 |
+
compileTargetAsC11(${whatIsBuilding}_testsonly_lib)
|
| 202 |
+
endif()
|
| 203 |
+
endif()
|
| 204 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 205 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 206 |
+
compileTargetAsC99(${whatIsBuilding}_exe)
|
| 207 |
+
endif()
|
| 208 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 209 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 210 |
+
compileTargetAsC11(${whatIsBuilding}_exe)
|
| 211 |
+
endif()
|
| 212 |
+
else()
|
| 213 |
+
if(
|
| 214 |
+
(("${whatIsBuilding}" MATCHES ".*e2e.*") AND ${nuget_e2e_tests})
|
| 215 |
+
)
|
| 216 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 217 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 218 |
+
compileTargetAsC99(${whatIsBuilding}_exe)
|
| 219 |
+
endif()
|
| 220 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 221 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 222 |
+
compileTargetAsC11(${whatIsBuilding}_exe)
|
| 223 |
+
endif()
|
| 224 |
+
else()
|
| 225 |
+
@@ -581,10 +581,10 @@ function(compile_c_test_artifacts_as whatIsBuilding compileAsWhat)
|
| 226 |
+
(("${whatIsBuilding}" MATCHES ".*e2e.*") AND ${run_e2e_tests}) OR
|
| 227 |
+
(("${whatIsBuilding}" MATCHES ".*int.*") AND ${run_int_tests})
|
| 228 |
+
)
|
| 229 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 230 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 231 |
+
compileTargetAsC99(${whatIsBuilding}_exe)
|
| 232 |
+
endif()
|
| 233 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 234 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 235 |
+
compileTargetAsC11(${whatIsBuilding}_exe)
|
| 236 |
+
endif()
|
| 237 |
+
endif()
|
| 238 |
+
@@ -641,8 +641,8 @@ function(set_platform_files c_shared_dir)
|
| 239 |
+
set(CONDITION_C_FILE ${c_shared_dir}/adapters/condition_win32.c PARENT_SCOPE)
|
| 240 |
+
endif()
|
| 241 |
+
if(use_etw)
|
| 242 |
+
- if(${use_etw} OR (${use_etw} STREQUAL "ON_WITH_CONSOLE"))
|
| 243 |
+
- if (${use_etw} STREQUAL "ON_WITH_CONSOLE")
|
| 244 |
+
+ if(use_etw OR (use_etw STREQUAL "ON_WITH_CONSOLE"))
|
| 245 |
+
+ if (use_etw STREQUAL "ON_WITH_CONSOLE")
|
| 246 |
+
set(XLOGGING_C_FILE ${c_shared_dir}/src/etwxlogging.c PARENT_SCOPE)
|
| 247 |
+
set(LOGGING_C_FILE ${c_shared_dir}/src/etwlogger_driver.c ${c_shared_dir}/src/consolelogger.c PARENT_SCOPE)
|
| 248 |
+
set(LOGGING_RC_FILE ${c_shared_dir}/res/etwlogger.rc CACHE INTERNAL "")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/fix-utilityFunctions-conditions.patch
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/configs/azure_c_shared_utilityFunctions.cmake b/configs/azure_c_shared_utilityFunctions.cmake
|
| 2 |
+
index 6c2f415..e6133af 100644
|
| 3 |
+
--- a/configs/azure_c_shared_utilityFunctions.cmake
|
| 4 |
+
+++ b/configs/azure_c_shared_utilityFunctions.cmake
|
| 5 |
+
@@ -2,11 +2,11 @@
|
| 6 |
+
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
| 7 |
+
|
| 8 |
+
function(target_link_libraries_with_arg_prefix arg_prefix whatIsBuilding lib)
|
| 9 |
+
- if(${arg_prefix} STREQUAL "debug")
|
| 10 |
+
+ if(arg_prefix STREQUAL "debug")
|
| 11 |
+
target_link_libraries(${whatIsBuilding} debug ${lib})
|
| 12 |
+
- elseif(${arg_prefix} STREQUAL "optimized")
|
| 13 |
+
+ elseif(arg_prefix STREQUAL "optimized")
|
| 14 |
+
target_link_libraries(${whatIsBuilding} optimized ${lib})
|
| 15 |
+
- elseif(${arg_prefix} STREQUAL "general")
|
| 16 |
+
+ elseif(arg_prefix STREQUAL "general")
|
| 17 |
+
target_link_libraries(${whatIsBuilding} general ${lib})
|
| 18 |
+
else()
|
| 19 |
+
target_link_libraries(${whatIsBuilding} ${lib})
|
| 20 |
+
@@ -43,13 +43,13 @@ function(windows_unittests_add_dll whatIsBuilding)
|
| 21 |
+
set(ARG_PREFIX "none")
|
| 22 |
+
foreach(f ${ARGN})
|
| 23 |
+
set(skip_to_next FALSE)
|
| 24 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 25 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 26 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 27 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 28 |
+
set(ARG_PREFIX "none")
|
| 29 |
+
#also unset all the other states
|
| 30 |
+
set(skip_to_next TRUE)
|
| 31 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 32 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 33 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 34 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 35 |
+
set(skip_to_next TRUE)
|
| 36 |
+
@@ -57,7 +57,7 @@ function(windows_unittests_add_dll whatIsBuilding)
|
| 37 |
+
|
| 38 |
+
if(NOT skip_to_next)
|
| 39 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 40 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 41 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 42 |
+
SET(ARG_PREFIX ${f})
|
| 43 |
+
else()
|
| 44 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_dll ${f})
|
| 45 |
+
@@ -90,13 +90,13 @@ function(windows_unittests_add_exe whatIsBuilding)
|
| 46 |
+
set(ARG_PREFIX "none")
|
| 47 |
+
foreach(f ${ARGN})
|
| 48 |
+
set(skip_to_next FALSE)
|
| 49 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 50 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 51 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 52 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 53 |
+
set(ARG_PREFIX "none")
|
| 54 |
+
#also unset all the other states
|
| 55 |
+
set(skip_to_next TRUE)
|
| 56 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 57 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 58 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 59 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 60 |
+
set(skip_to_next TRUE)
|
| 61 |
+
@@ -104,7 +104,7 @@ function(windows_unittests_add_exe whatIsBuilding)
|
| 62 |
+
|
| 63 |
+
if(NOT skip_to_next)
|
| 64 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 65 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 66 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 67 |
+
SET(ARG_PREFIX ${f})
|
| 68 |
+
else()
|
| 69 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 70 |
+
@@ -150,14 +150,14 @@ function(linux_unittests_add_exe whatIsBuilding)
|
| 71 |
+
set(ARG_PREFIX "none")
|
| 72 |
+
foreach(f ${ARGN})
|
| 73 |
+
set(skip_to_next FALSE)
|
| 74 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 75 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 76 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 77 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 78 |
+
set(ARG_PREFIX "none")
|
| 79 |
+
set(skip_to_next TRUE)
|
| 80 |
+
#also unset all the other states
|
| 81 |
+
|
| 82 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 83 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 84 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 85 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 86 |
+
set(skip_to_next TRUE)
|
| 87 |
+
@@ -165,7 +165,7 @@ function(linux_unittests_add_exe whatIsBuilding)
|
| 88 |
+
|
| 89 |
+
if(NOT skip_to_next)
|
| 90 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 91 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 92 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 93 |
+
SET(ARG_PREFIX ${f})
|
| 94 |
+
else()
|
| 95 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 96 |
+
@@ -184,7 +184,7 @@ function(linux_unittests_add_exe whatIsBuilding)
|
| 97 |
+
|
| 98 |
+
if(${run_valgrind})
|
| 99 |
+
find_program(VALGRIND_FOUND NAMES valgrind)
|
| 100 |
+
- if(${VALGRIND_FOUND} STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 101 |
+
+ if(VALGRIND_FOUND STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 102 |
+
message(WARNING "run_valgrind was TRUE, but valgrind was not found - there will be no tests run under valgrind")
|
| 103 |
+
else()
|
| 104 |
+
add_test(NAME ${whatIsBuilding}_valgrind COMMAND valgrind --num-callers=100 --error-exitcode=1 --leak-check=full --track-origins=yes ${VALGRIND_SUPPRESSIONS_FILE_EXTRA_PARAMETER} $<TARGET_FILE:${whatIsBuilding}_exe>)
|
| 105 |
+
@@ -307,13 +307,13 @@ function(c_windows_unittests_add_dll whatIsBuilding folder)
|
| 106 |
+
set(ARG_PREFIX "none")
|
| 107 |
+
foreach(f ${ARGN})
|
| 108 |
+
set(skip_to_next FALSE)
|
| 109 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 110 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 111 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 112 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 113 |
+
set(ARG_PREFIX "none")
|
| 114 |
+
#also unset all the other states
|
| 115 |
+
set(skip_to_next TRUE)
|
| 116 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 117 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 118 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 119 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 120 |
+
set(skip_to_next TRUE)
|
| 121 |
+
@@ -321,7 +321,7 @@ function(c_windows_unittests_add_dll whatIsBuilding folder)
|
| 122 |
+
|
| 123 |
+
if(NOT skip_to_next)
|
| 124 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 125 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 126 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 127 |
+
SET(ARG_PREFIX ${f})
|
| 128 |
+
else()
|
| 129 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_dll ${f})
|
| 130 |
+
@@ -369,13 +369,13 @@ function(c_windows_unittests_add_exe whatIsBuilding folder)
|
| 131 |
+
set(ARG_PREFIX "none")
|
| 132 |
+
foreach(f ${ARGN})
|
| 133 |
+
set(skip_to_next FALSE)
|
| 134 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 135 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 136 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 137 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 138 |
+
set(ARG_PREFIX "none")
|
| 139 |
+
#also unset all the other states
|
| 140 |
+
set(skip_to_next TRUE)
|
| 141 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 142 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 143 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 144 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 145 |
+
set(skip_to_next TRUE)
|
| 146 |
+
@@ -383,7 +383,7 @@ function(c_windows_unittests_add_exe whatIsBuilding folder)
|
| 147 |
+
|
| 148 |
+
if(NOT skip_to_next)
|
| 149 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 150 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 151 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 152 |
+
SET(ARG_PREFIX ${f})
|
| 153 |
+
else()
|
| 154 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 155 |
+
@@ -429,13 +429,13 @@ function(c_linux_unittests_add_exe whatIsBuilding folder)
|
| 156 |
+
set(ARG_PREFIX "none")
|
| 157 |
+
foreach(f ${ARGN})
|
| 158 |
+
set(skip_to_next FALSE)
|
| 159 |
+
- if(${f} STREQUAL "ADDITIONAL_LIBS")
|
| 160 |
+
+ if(f STREQUAL "ADDITIONAL_LIBS")
|
| 161 |
+
SET(PARSING_ADDITIONAL_LIBS ON)
|
| 162 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE OFF)
|
| 163 |
+
set(ARG_PREFIX "none")
|
| 164 |
+
#also unset all the other states
|
| 165 |
+
set(skip_to_next TRUE)
|
| 166 |
+
- elseif(${f} STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 167 |
+
+ elseif(f STREQUAL "VALGRIND_SUPPRESSIONS_FILE")
|
| 168 |
+
SET(PARSING_ADDITIONAL_LIBS OFF)
|
| 169 |
+
SET(PARSING_VALGRIND_SUPPRESSIONS_FILE ON)
|
| 170 |
+
set(skip_to_next TRUE)
|
| 171 |
+
@@ -443,7 +443,7 @@ function(c_linux_unittests_add_exe whatIsBuilding folder)
|
| 172 |
+
|
| 173 |
+
if(NOT skip_to_next)
|
| 174 |
+
if(PARSING_ADDITIONAL_LIBS)
|
| 175 |
+
- if((${f} STREQUAL "debug") OR (${f} STREQUAL "optimized") OR (${f} STREQUAL "general"))
|
| 176 |
+
+ if((f STREQUAL "debug") OR (f STREQUAL "optimized") OR (f STREQUAL "general"))
|
| 177 |
+
SET(ARG_PREFIX ${f})
|
| 178 |
+
else()
|
| 179 |
+
target_link_libraries_with_arg_prefix(${ARG_PREFIX} ${whatIsBuilding}_exe ${f})
|
| 180 |
+
@@ -462,7 +462,7 @@ function(c_linux_unittests_add_exe whatIsBuilding folder)
|
| 181 |
+
|
| 182 |
+
if(${run_valgrind})
|
| 183 |
+
find_program(VALGRIND_FOUND NAMES valgrind)
|
| 184 |
+
- if(${VALGRIND_FOUND} STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 185 |
+
+ if(VALGRIND_FOUND STREQUAL VALGRIND_FOUND-NOTFOUND)
|
| 186 |
+
message(WARNING "run_valgrind was TRUE, but valgrind was not found - there will be no tests run under valgrind")
|
| 187 |
+
else()
|
| 188 |
+
add_test(NAME ${whatIsBuilding}_valgrind COMMAND valgrind --gen-suppressions=all --num-callers=100 --error-exitcode=1 --leak-check=full --track-origins=yes ${VALGRIND_SUPPRESSIONS_FILE_EXTRA_PARAMETER} $<TARGET_FILE:${whatIsBuilding}_exe>)
|
| 189 |
+
@@ -546,29 +546,29 @@ function(compile_c_test_artifacts_as whatIsBuilding compileAsWhat)
|
| 190 |
+
(("${whatIsBuilding}" MATCHES ".*int.*") AND ${run_int_tests})
|
| 191 |
+
)
|
| 192 |
+
if (${use_cppunittest})
|
| 193 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 194 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 195 |
+
compileTargetAsC99(${whatIsBuilding}_dll)
|
| 196 |
+
compileTargetAsC99(${whatIsBuilding}_testsonly_lib)
|
| 197 |
+
endif()
|
| 198 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 199 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 200 |
+
compileTargetAsC11(${whatIsBuilding}_dll)
|
| 201 |
+
compileTargetAsC11(${whatIsBuilding}_testsonly_lib)
|
| 202 |
+
endif()
|
| 203 |
+
endif()
|
| 204 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 205 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 206 |
+
compileTargetAsC99(${whatIsBuilding}_exe)
|
| 207 |
+
endif()
|
| 208 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 209 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 210 |
+
compileTargetAsC11(${whatIsBuilding}_exe)
|
| 211 |
+
endif()
|
| 212 |
+
else()
|
| 213 |
+
if(
|
| 214 |
+
(("${whatIsBuilding}" MATCHES ".*e2e.*") AND ${nuget_e2e_tests})
|
| 215 |
+
)
|
| 216 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 217 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 218 |
+
compileTargetAsC99(${whatIsBuilding}_exe)
|
| 219 |
+
endif()
|
| 220 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 221 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 222 |
+
compileTargetAsC11(${whatIsBuilding}_exe)
|
| 223 |
+
endif()
|
| 224 |
+
else()
|
| 225 |
+
@@ -581,10 +581,10 @@ function(compile_c_test_artifacts_as whatIsBuilding compileAsWhat)
|
| 226 |
+
(("${whatIsBuilding}" MATCHES ".*e2e.*") AND ${run_e2e_tests}) OR
|
| 227 |
+
(("${whatIsBuilding}" MATCHES ".*int.*") AND ${run_int_tests})
|
| 228 |
+
)
|
| 229 |
+
- if(${compileAsWhat} STREQUAL "C99")
|
| 230 |
+
+ if(compileAsWhat STREQUAL "C99")
|
| 231 |
+
compileTargetAsC99(${whatIsBuilding}_exe)
|
| 232 |
+
endif()
|
| 233 |
+
- if(${compileAsWhat} STREQUAL "C11")
|
| 234 |
+
+ if(compileAsWhat STREQUAL "C11")
|
| 235 |
+
compileTargetAsC11(${whatIsBuilding}_exe)
|
| 236 |
+
endif()
|
| 237 |
+
endif()
|
| 238 |
+
@@ -641,15 +641,15 @@ function(set_platform_files c_shared_dir)
|
| 239 |
+
set(CONDITION_C_FILE ${c_shared_dir}/adapters/condition_win32.c PARENT_SCOPE)
|
| 240 |
+
endif()
|
| 241 |
+
|
| 242 |
+
- if(${use_etw} STREQUAL "OFF")
|
| 243 |
+
+ if(use_etw STREQUAL "OFF")
|
| 244 |
+
set(XLOGGING_C_FILE ${c_shared_dir}/src/xlogging.c PARENT_SCOPE)
|
| 245 |
+
set(LOGGING_C_FILE ${c_shared_dir}/src/consolelogger.c PARENT_SCOPE)
|
| 246 |
+
set(LOGGING_H_FILE ${c_shared_dir}/inc/azure_c_shared_utility/consolelogger.h PARENT_SCOPE)
|
| 247 |
+
- elseif(${use_etw} STREQUAL "TRACELOGGING")
|
| 248 |
+
+ elseif(use_etw STREQUAL "TRACELOGGING")
|
| 249 |
+
set(XLOGGING_C_FILE ${c_shared_dir}/src/etwxlogging.c PARENT_SCOPE)
|
| 250 |
+
set(LOGGING_C_FILE ${c_shared_dir}/src/etwlogger_driver.c PARENT_SCOPE)
|
| 251 |
+
set(LOGGING_H_FILE ${c_shared_dir}/inc/azure_c_shared_utility/etwlogger_driver.h PARENT_SCOPE)
|
| 252 |
+
- elseif(${use_etw} STREQUAL "TRACELOGGING_WITH_CONSOLE")
|
| 253 |
+
+ elseif(use_etw STREQUAL "TRACELOGGING_WITH_CONSOLE")
|
| 254 |
+
set(XLOGGING_C_FILE ${c_shared_dir}/src/etwxlogging.c PARENT_SCOPE)
|
| 255 |
+
set(LOGGING_C_FILE ${c_shared_dir}/src/etwlogger_driver.c ${c_shared_dir}/src/consolelogger.c PARENT_SCOPE)
|
| 256 |
+
set(LOGGING_H_FILE ${c_shared_dir}/inc/azure_c_shared_utility/etwlogger_driver.h ${c_shared_dir}/inc/azure_c_shared_utility/consolelogger.h PARENT_SCOPE)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/improve-dependencies-preview.patch
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 46334c1..aaeea20 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -115,7 +115,6 @@ if(${use_openssl})
|
| 6 |
+
if (NOT TARGET OpenSSL::SSL OR NOT TARGET OpenSSL::Crypto OR NOT ${OPENSSL_INCLUDE_DIR})
|
| 7 |
+
find_package(OpenSSL REQUIRED)
|
| 8 |
+
endif()
|
| 9 |
+
- include_directories(${OPENSSL_INCLUDE_DIR})
|
| 10 |
+
endif()
|
| 11 |
+
|
| 12 |
+
if(${use_applessl})
|
| 13 |
+
@@ -521,8 +520,7 @@ if(${use_http})
|
| 14 |
+
set(CURL_FIND_REQUIRED 1)
|
| 15 |
+
find_package_handle_standard_args(CURL DEFAULT_MSG CURL_LIBRARIES)
|
| 16 |
+
|
| 17 |
+
- include_directories(${CURL_INCLUDE_DIRS})
|
| 18 |
+
- set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} ${CURL_LIBRARIES})
|
| 19 |
+
+ set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} CURL::libcurl)
|
| 20 |
+
endif(NOT use_builtin_httpapi)
|
| 21 |
+
endif()
|
| 22 |
+
endif(${use_http})
|
| 23 |
+
@@ -561,7 +559,7 @@ if(${use_bearssl})
|
| 24 |
+
endif()
|
| 25 |
+
|
| 26 |
+
if(${use_openssl})
|
| 27 |
+
- set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} ${OPENSSL_LIBRARIES})
|
| 28 |
+
+ set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} OpenSSL::SSL)
|
| 29 |
+
if (WIN32)
|
| 30 |
+
set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} crypt32 ws2_32 secur32)
|
| 31 |
+
endif()
|
| 32 |
+
@@ -703,7 +701,7 @@ write_basic_package_version_file(
|
| 33 |
+
|
| 34 |
+
configure_file("configs/${PROJECT_NAME}Config.cmake"
|
| 35 |
+
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake"
|
| 36 |
+
- COPYONLY
|
| 37 |
+
+ @ONLY
|
| 38 |
+
)
|
| 39 |
+
|
| 40 |
+
install(EXPORT aziotsharedutilTargets
|
| 41 |
+
@@ -715,7 +713,7 @@ install(EXPORT aziotsharedutilTargets
|
| 42 |
+
|
| 43 |
+
install(
|
| 44 |
+
FILES
|
| 45 |
+
- "configs/${PROJECT_NAME}Config.cmake"
|
| 46 |
+
+ "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake"
|
| 47 |
+
"configs/${PROJECT_NAME}Functions.cmake"
|
| 48 |
+
"configs/azure_iot_build_rules.cmake"
|
| 49 |
+
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
|
| 50 |
+
diff --git a/configs/azure_c_shared_utilityConfig.cmake b/configs/azure_c_shared_utilityConfig.cmake
|
| 51 |
+
index 52f2c7e1..11e9332b 100644
|
| 52 |
+
--- a/configs/azure_c_shared_utilityConfig.cmake
|
| 53 |
+
+++ b/configs/azure_c_shared_utilityConfig.cmake
|
| 54 |
+
@@ -1,6 +1,14 @@
|
| 55 |
+
#Copyright (c) Microsoft. All rights reserved.
|
| 56 |
+
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
| 57 |
+
|
| 58 |
+
+include(CMakeFindDependencyMacro)
|
| 59 |
+
+if("@use_openssl@")
|
| 60 |
+
+ find_dependency(OpenSSL)
|
| 61 |
+
+endif()
|
| 62 |
+
+if(UNIX AND NOT "@use_builtin_httpapi@")
|
| 63 |
+
+ find_dependency(CURL)
|
| 64 |
+
+endif()
|
| 65 |
+
+
|
| 66 |
+
include("${CMAKE_CURRENT_LIST_DIR}/azure_c_shared_utilityTargets.cmake")
|
| 67 |
+
|
| 68 |
+
get_target_property(AZURE_C_SHARED_UTILITY_INCLUDES aziotsharedutil INTERFACE_INCLUDE_DIRECTORIES)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/improve-dependencies.patch
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 46334c1..aaeea20 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -115,7 +115,6 @@ if(${use_openssl})
|
| 6 |
+
if (NOT TARGET OpenSSL::SSL OR NOT TARGET OpenSSL::Crypto OR NOT ${OPENSSL_INCLUDE_DIR})
|
| 7 |
+
find_package(OpenSSL REQUIRED)
|
| 8 |
+
endif()
|
| 9 |
+
- include_directories(${OPENSSL_INCLUDE_DIR})
|
| 10 |
+
endif()
|
| 11 |
+
|
| 12 |
+
if(${use_applessl})
|
| 13 |
+
@@ -521,8 +520,7 @@ if(${use_http})
|
| 14 |
+
set(CURL_FIND_REQUIRED 1)
|
| 15 |
+
find_package_handle_standard_args(CURL DEFAULT_MSG CURL_LIBRARIES)
|
| 16 |
+
|
| 17 |
+
- include_directories(${CURL_INCLUDE_DIRS})
|
| 18 |
+
- set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} ${CURL_LIBRARIES})
|
| 19 |
+
+ set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} CURL::libcurl)
|
| 20 |
+
endif(NOT use_builtin_httpapi)
|
| 21 |
+
endif()
|
| 22 |
+
endif(${use_http})
|
| 23 |
+
@@ -561,7 +559,7 @@ if(${use_bearssl})
|
| 24 |
+
endif()
|
| 25 |
+
|
| 26 |
+
if(${use_openssl})
|
| 27 |
+
- set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} ${OPENSSL_LIBRARIES})
|
| 28 |
+
+ set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} OpenSSL::SSL)
|
| 29 |
+
if (WIN32)
|
| 30 |
+
set(aziotsharedutil_target_libs ${aziotsharedutil_target_libs} crypt32 ws2_32 secur32)
|
| 31 |
+
endif()
|
| 32 |
+
@@ -703,7 +701,7 @@ write_basic_package_version_file(
|
| 33 |
+
|
| 34 |
+
configure_file("configs/${PROJECT_NAME}Config.cmake"
|
| 35 |
+
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake"
|
| 36 |
+
- COPYONLY
|
| 37 |
+
+ @ONLY
|
| 38 |
+
)
|
| 39 |
+
|
| 40 |
+
install(EXPORT aziotsharedutilTargets
|
| 41 |
+
@@ -715,7 +713,7 @@ install(EXPORT aziotsharedutilTargets
|
| 42 |
+
|
| 43 |
+
install(
|
| 44 |
+
FILES
|
| 45 |
+
- "configs/${PROJECT_NAME}Config.cmake"
|
| 46 |
+
+ "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake"
|
| 47 |
+
"configs/${PROJECT_NAME}Functions.cmake"
|
| 48 |
+
"configs/azure_iot_build_rules.cmake"
|
| 49 |
+
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
|
| 50 |
+
diff --git a/configs/azure_c_shared_utilityConfig.cmake b/configs/azure_c_shared_utilityConfig.cmake
|
| 51 |
+
index 416dd1c..0e1e4d4 100644
|
| 52 |
+
--- a/configs/azure_c_shared_utilityConfig.cmake
|
| 53 |
+
+++ b/configs/azure_c_shared_utilityConfig.cmake
|
| 54 |
+
@@ -1,8 +1,11 @@
|
| 55 |
+
#Copyright (c) Microsoft. All rights reserved.
|
| 56 |
+
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
| 57 |
+
|
| 58 |
+
-if(UNIX)
|
| 59 |
+
- include(CMakeFindDependencyMacro)
|
| 60 |
+
+include(CMakeFindDependencyMacro)
|
| 61 |
+
+if("@use_openssl@")
|
| 62 |
+
+ find_dependency(OpenSSL)
|
| 63 |
+
+endif()
|
| 64 |
+
+if(UNIX AND NOT "@use_builtin_httpapi@")
|
| 65 |
+
find_dependency(CURL)
|
| 66 |
+
endif()
|
| 67 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/openssl.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/adapters/x509_openssl.c b/adapters/x509_openssl.c
|
| 2 |
+
index 5a9e5ac2..bb946c2d 100644
|
| 3 |
+
--- a/adapters/x509_openssl.c
|
| 4 |
+
+++ b/adapters/x509_openssl.c
|
| 5 |
+
@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate)
|
| 6 |
+
// certificates.
|
| 7 |
+
|
| 8 |
+
/* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */
|
| 9 |
+
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L)
|
| 10 |
+
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
|
| 11 |
+
SSL_CTX_clear_extra_chain_certs(ssl_ctx);
|
| 12 |
+
#else
|
| 13 |
+
if (ssl_ctx->extra_certs != NULL)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/portfile.cmake
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
| 2 |
+
|
| 3 |
+
if("public-preview" IN_LIST FEATURES)
|
| 4 |
+
vcpkg_from_github(
|
| 5 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 6 |
+
REPO Azure/azure-c-shared-utility
|
| 7 |
+
REF 42574842914591aadc77701aac72f18cc72319ad
|
| 8 |
+
SHA512 dfe6ccede4bebdb3a39fbfea1dc55ddca57cced0d2656ee4bed1a5e5c9c434e1f2d892eb4e29bbb424cb9a02f2374a95fb9a020442bea580d39c242efad1b789
|
| 9 |
+
HEAD_REF master
|
| 10 |
+
PATCHES
|
| 11 |
+
fix-install-location-preview.patch
|
| 12 |
+
fix-utilityFunctions-conditions-preview.patch
|
| 13 |
+
disable-error.patch
|
| 14 |
+
improve-dependencies-preview.patch
|
| 15 |
+
)
|
| 16 |
+
else()
|
| 17 |
+
vcpkg_from_github(
|
| 18 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 19 |
+
REPO Azure/azure-c-shared-utility
|
| 20 |
+
REF 1a27846886a74702d409a8f0e2d77a38163cefc7
|
| 21 |
+
SHA512 c30cba73692691fe1310b6180e3aeaf4d86b6276981c680cac31d605634e5dedbce3f823142dfebba4ae2f76ccead965a527d95df0e52af638a30ddec9818fbd
|
| 22 |
+
HEAD_REF master
|
| 23 |
+
PATCHES
|
| 24 |
+
openssl.patch
|
| 25 |
+
fix-install-location.patch
|
| 26 |
+
fix-utilityFunctions-conditions.patch
|
| 27 |
+
disable-error.patch
|
| 28 |
+
improve-dependencies.patch
|
| 29 |
+
)
|
| 30 |
+
endif()
|
| 31 |
+
|
| 32 |
+
vcpkg_cmake_configure(
|
| 33 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 34 |
+
OPTIONS
|
| 35 |
+
-Dskip_samples=ON
|
| 36 |
+
-Duse_installed_dependencies=ON
|
| 37 |
+
-Duse_default_uuid=ON
|
| 38 |
+
-Dbuild_as_dynamic=OFF
|
| 39 |
+
MAYBE_UNUSED_VARIABLES
|
| 40 |
+
build_as_dynamic
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
vcpkg_cmake_install()
|
| 44 |
+
|
| 45 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME azure_c_shared_utility CONFIG_PATH lib/cmake/azure_c_shared_utility)
|
| 46 |
+
|
| 47 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 48 |
+
|
| 49 |
+
file(COPY "${SOURCE_PATH}/configs/azure_iot_build_rules.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
| 50 |
+
|
| 51 |
+
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
| 52 |
+
|
| 53 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-c-shared-utility/vcpkg.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "azure-c-shared-utility",
|
| 3 |
+
"version-date": "2022-01-21",
|
| 4 |
+
"port-version": 3,
|
| 5 |
+
"description": "Azure C SDKs common code",
|
| 6 |
+
"homepage": "https://github.com/Azure/azure-c-shared-utility",
|
| 7 |
+
"license": "MIT",
|
| 8 |
+
"supports": "!uwp",
|
| 9 |
+
"dependencies": [
|
| 10 |
+
"azure-macro-utils-c",
|
| 11 |
+
{
|
| 12 |
+
"name": "curl",
|
| 13 |
+
"platform": "linux"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "openssl",
|
| 17 |
+
"platform": "linux"
|
| 18 |
+
},
|
| 19 |
+
"umock-c",
|
| 20 |
+
{
|
| 21 |
+
"name": "vcpkg-cmake",
|
| 22 |
+
"host": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"name": "vcpkg-cmake-config",
|
| 26 |
+
"host": true
|
| 27 |
+
}
|
| 28 |
+
],
|
| 29 |
+
"features": {
|
| 30 |
+
"public-preview": {
|
| 31 |
+
"description": "Azure C SDKs common code (public preview)",
|
| 32 |
+
"dependencies": [
|
| 33 |
+
{
|
| 34 |
+
"name": "azure-macro-utils-c",
|
| 35 |
+
"features": [
|
| 36 |
+
"public-preview"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"name": "curl",
|
| 41 |
+
"platform": "linux"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"name": "openssl",
|
| 45 |
+
"platform": "linux"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": "umock-c",
|
| 49 |
+
"features": [
|
| 50 |
+
"public-preview"
|
| 51 |
+
]
|
| 52 |
+
}
|
| 53 |
+
]
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-core-cpp/portfile.cmake
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO Azure/azure-sdk-for-cpp
|
| 4 |
+
REF azure-core_1.5.0
|
| 5 |
+
SHA512 7a0b8ed9345b565e4476cb66c1e7a44350f5cd4f79a9d40a11b77f646eff353d94762803ca5931264689d390255cd9d361c5d4a54ccc89548cf640f76a26e74c
|
| 6 |
+
)
|
| 7 |
+
|
| 8 |
+
vcpkg_check_features(
|
| 9 |
+
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
| 10 |
+
FEATURES
|
| 11 |
+
curl BUILD_TRANSPORT_CURL
|
| 12 |
+
winhttp BUILD_TRANSPORT_WINHTTP
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
vcpkg_cmake_configure(
|
| 16 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
| 17 |
+
OPTIONS
|
| 18 |
+
${FEATURE_OPTIONS}
|
| 19 |
+
-DWARNINGS_AS_ERRORS=OFF
|
| 20 |
+
)
|
| 21 |
+
|
| 22 |
+
vcpkg_cmake_install()
|
| 23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
| 24 |
+
vcpkg_cmake_config_fixup()
|
| 25 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 26 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-core-cpp/vcpkg.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "azure-core-cpp",
|
| 3 |
+
"version-semver": "1.5.0",
|
| 4 |
+
"description": [
|
| 5 |
+
"Microsoft Azure Core SDK for C++",
|
| 6 |
+
"This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++."
|
| 7 |
+
],
|
| 8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/core/azure-core",
|
| 9 |
+
"license": "MIT",
|
| 10 |
+
"dependencies": [
|
| 11 |
+
{
|
| 12 |
+
"name": "openssl",
|
| 13 |
+
"platform": "!windows & !uwp",
|
| 14 |
+
"version>=": "1.1.1n"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"name": "vcpkg-cmake",
|
| 18 |
+
"host": true
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"name": "vcpkg-cmake-config",
|
| 22 |
+
"host": true
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"default-features": [
|
| 26 |
+
"http"
|
| 27 |
+
],
|
| 28 |
+
"features": {
|
| 29 |
+
"curl": {
|
| 30 |
+
"description": "Libcurl HTTP transport implementation",
|
| 31 |
+
"dependencies": [
|
| 32 |
+
{
|
| 33 |
+
"name": "azure-core-cpp",
|
| 34 |
+
"default-features": false
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": "curl",
|
| 38 |
+
"default-features": false,
|
| 39 |
+
"features": [
|
| 40 |
+
"ssl"
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
]
|
| 44 |
+
},
|
| 45 |
+
"http": {
|
| 46 |
+
"description": "All HTTP transport implementations available on the platform",
|
| 47 |
+
"dependencies": [
|
| 48 |
+
{
|
| 49 |
+
"name": "azure-core-cpp",
|
| 50 |
+
"default-features": false,
|
| 51 |
+
"features": [
|
| 52 |
+
"curl"
|
| 53 |
+
]
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"name": "azure-core-cpp",
|
| 57 |
+
"default-features": false,
|
| 58 |
+
"features": [
|
| 59 |
+
"curl",
|
| 60 |
+
"winhttp"
|
| 61 |
+
],
|
| 62 |
+
"platform": "windows & !uwp"
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
},
|
| 66 |
+
"winhttp": {
|
| 67 |
+
"description": "WinHTTP HTTP transport implementation",
|
| 68 |
+
"dependencies": [
|
| 69 |
+
{
|
| 70 |
+
"name": "azure-core-cpp",
|
| 71 |
+
"default-features": false
|
| 72 |
+
}
|
| 73 |
+
]
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-identity-cpp/portfile.cmake
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_from_github(
|
| 2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 3 |
+
REPO Azure/azure-sdk-for-cpp
|
| 4 |
+
REF azure-identity_1.2.0
|
| 5 |
+
SHA512 f27adda21a7d7b687cae08bed6b9f1e7ef10a9f36a886021c939da570c01fe4ab153bbc5852280bb147c879d6cdb4361d9655656398368814f4842ebc9ddc2dc
|
| 6 |
+
)
|
| 7 |
+
|
| 8 |
+
vcpkg_cmake_configure(
|
| 9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/identity/azure-identity/
|
| 10 |
+
OPTIONS
|
| 11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
vcpkg_cmake_install()
|
| 15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
| 16 |
+
vcpkg_cmake_config_fixup()
|
| 17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-identity-cpp/vcpkg.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "azure-identity-cpp",
|
| 3 |
+
"version-semver": "1.2.0",
|
| 4 |
+
"description": [
|
| 5 |
+
"Microsoft Azure Identity SDK for C++",
|
| 6 |
+
"This library provides common authentication-related abstractions for Azure SDK."
|
| 7 |
+
],
|
| 8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/identity/azure-identity",
|
| 9 |
+
"license": "MIT",
|
| 10 |
+
"dependencies": [
|
| 11 |
+
{
|
| 12 |
+
"name": "azure-core-cpp",
|
| 13 |
+
"default-features": false,
|
| 14 |
+
"version>=": "1.4.0"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"name": "vcpkg-cmake",
|
| 18 |
+
"host": true
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"name": "vcpkg-cmake-config",
|
| 22 |
+
"host": true
|
| 23 |
+
}
|
| 24 |
+
]
|
| 25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/fix-install-location.patch
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/provisioning_client/CMakeLists.txt b/provisioning_client/CMakeLists.txt
|
| 2 |
+
index 39f269d51..ff53ca32d 100644
|
| 3 |
+
--- a/provisioning_client/CMakeLists.txt
|
| 4 |
+
+++ b/provisioning_client/CMakeLists.txt
|
| 5 |
+
@@ -357,7 +357,7 @@ if(${use_installed_dependencies})
|
| 6 |
+
set(CMAKE_INSTALL_LIBDIR "lib")
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
- install(TARGETS ${provisioning_libs} EXPORT azure_prov_sdksTargets
|
| 10 |
+
+ install(TARGETS ${provisioning_libs} EXPORT azure_iot_sdksTargets
|
| 11 |
+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
| 12 |
+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
| 13 |
+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
| 14 |
+
@@ -372,26 +372,6 @@ if(${use_installed_dependencies})
|
| 15 |
+
VERSION ${PROV_SDK_VERSION}
|
| 16 |
+
COMPATIBILITY SameMajorVersion
|
| 17 |
+
)
|
| 18 |
+
-
|
| 19 |
+
- configure_file("../configs/${PROJECT_NAME}Config.cmake"
|
| 20 |
+
- "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake"
|
| 21 |
+
- COPYONLY
|
| 22 |
+
- )
|
| 23 |
+
-
|
| 24 |
+
- install(EXPORT azure_prov_sdksTargets
|
| 25 |
+
- FILE
|
| 26 |
+
- "${PROJECT_NAME}Targets.cmake"
|
| 27 |
+
- DESTINATION
|
| 28 |
+
- ${package_location}
|
| 29 |
+
- )
|
| 30 |
+
-
|
| 31 |
+
- install(
|
| 32 |
+
- FILES
|
| 33 |
+
- "../configs/${PROJECT_NAME}Config.cmake"
|
| 34 |
+
- "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
|
| 35 |
+
- DESTINATION
|
| 36 |
+
- ${package_location}
|
| 37 |
+
- )
|
| 38 |
+
else()
|
| 39 |
+
# Install Provisioning libs
|
| 40 |
+
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/fix-iothubclient-includes.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/iothub_client/CMakeLists.txt b/iothub_client/CMakeLists.txt
|
| 2 |
+
index 07ab3b7..9769a08 100644
|
| 3 |
+
--- a/iothub_client/CMakeLists.txt
|
| 4 |
+
+++ b/iothub_client/CMakeLists.txt
|
| 5 |
+
@@ -441,7 +441,7 @@ add_library(iothub_client
|
| 6 |
+
target_include_directories(iothub_client
|
| 7 |
+
PUBLIC
|
| 8 |
+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
|
| 9 |
+
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot/include>
|
| 10 |
+
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/azureiot>
|
| 11 |
+
)
|
| 12 |
+
applyXcodeBuildFlagsIfNeeded(iothub_client)
|
| 13 |
+
target_link_libraries(iothub_client ${iothub_client_libs})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/improve-external-deps-preview.patch
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/configs/azure_iot_sdksConfig.cmake b/configs/azure_iot_sdksConfig.cmake
|
| 2 |
+
index b9c62e8..edf5847 100644
|
| 3 |
+
--- a/configs/azure_iot_sdksConfig.cmake
|
| 4 |
+
+++ b/configs/azure_iot_sdksConfig.cmake
|
| 5 |
+
@@ -1,5 +1,11 @@
|
| 6 |
+
#Copyright (c) Microsoft. All rights reserved.
|
| 7 |
+
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
| 8 |
+
+include(CMakeFindDependencyMacro)
|
| 9 |
+
+find_dependency(unofficial-parson)
|
| 10 |
+
+find_dependency(uamqp)
|
| 11 |
+
+find_dependency(uhttp)
|
| 12 |
+
+find_dependency(umqtt)
|
| 13 |
+
+find_dependency(azure_c_shared_utility)
|
| 14 |
+
|
| 15 |
+
include("${CMAKE_CURRENT_LIST_DIR}/azure_iot_sdksTargets.cmake")
|
| 16 |
+
|
| 17 |
+
diff --git a/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt b/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt
|
| 18 |
+
index 33b5b8709..45ef7b87a 100644
|
| 19 |
+
--- a/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt
|
| 20 |
+
+++ b/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt
|
| 21 |
+
@@ -31,12 +31,10 @@ set(${theseTestsName}_c_files
|
| 22 |
+
|
| 23 |
+
set(${theseTestsName}_c_files
|
| 24 |
+
../../../certs/certs.c
|
| 25 |
+
- ../../../deps/parson/parson.c
|
| 26 |
+
)
|
| 27 |
+
|
| 28 |
+
set(${theseTestsName}_h_files
|
| 29 |
+
../../../certs/certs.h
|
| 30 |
+
- ../../../deps/parson/parson.h
|
| 31 |
+
../common_dt_e2e/iothubclient_common_dt_e2e.h
|
| 32 |
+
)
|
| 33 |
+
|
| 34 |
+
diff --git a/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt b/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt
|
| 35 |
+
index d05d654..5872c8d 100644
|
| 36 |
+
--- a/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt
|
| 37 |
+
+++ b/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt
|
| 38 |
+
@@ -31,12 +31,10 @@ set(${theseTestsName}_nuget_c_files
|
| 39 |
+
|
| 40 |
+
set(${theseTestsName}_c_files
|
| 41 |
+
../../../certs/certs.c
|
| 42 |
+
- ../../../deps/parson/parson.c
|
| 43 |
+
)
|
| 44 |
+
|
| 45 |
+
set(${theseTestsName}_h_files
|
| 46 |
+
../../../certs/certs.h
|
| 47 |
+
- ../../../deps/parson/parson.h
|
| 48 |
+
../common_dt_e2e/iothubclient_common_dt_e2e.h
|
| 49 |
+
)
|
| 50 |
+
|
| 51 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 52 |
+
index ba2f8e016..19885c8b8 100644
|
| 53 |
+
--- a/CMakeLists.txt
|
| 54 |
+
+++ b/CMakeLists.txt
|
| 55 |
+
@@ -179,17 +179,6 @@ endif()
|
| 56 |
+
# Use solution folders.
|
| 57 |
+
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
| 58 |
+
|
| 59 |
+
-# build the parson library for json parsing
|
| 60 |
+
-add_library(parson
|
| 61 |
+
- ./deps/parson/parson.c
|
| 62 |
+
- ./deps/parson/parson.h
|
| 63 |
+
-)
|
| 64 |
+
-if (MSVC)
|
| 65 |
+
- set_source_files_properties(../deps/parson/parson.c PROPERTIES COMPILE_FLAGS "/wd4244 /wd4232")
|
| 66 |
+
-endif()
|
| 67 |
+
-set(parson_h_install_files ./deps/parson/parson.h)
|
| 68 |
+
-set(parson_install_libs parson)
|
| 69 |
+
-
|
| 70 |
+
if (IN_OPENWRT)
|
| 71 |
+
ADD_DEFINITIONS("$ENV{TARGET_LDFLAGS}" "$ENV{TARGET_CPPFLAGS}" "$ENV{TARGET_CFLAGS}")
|
| 72 |
+
INCLUDE_DIRECTORIES("$ENV{TOOLCHAIN_DIR}/usr/include" "$ENV{TARGET_LDFLAGS}" "$ENV{TARGET_CPPFLAGS}" "$ENV{TARGET_CFLAGS}")
|
| 73 |
+
@@ -407,7 +396,7 @@ endif()
|
| 74 |
+
|
| 75 |
+
if (${use_installed_dependencies})
|
| 76 |
+
# Install azure_iot_sdks
|
| 77 |
+
- set(package_location "cmake")
|
| 78 |
+
+ set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
|
| 79 |
+
|
| 80 |
+
include(CMakePackageConfigHelpers)
|
| 81 |
+
|
| 82 |
+
@@ -422,14 +411,10 @@ if (${use_installed_dependencies})
|
| 83 |
+
COPYONLY
|
| 84 |
+
)
|
| 85 |
+
|
| 86 |
+
- install(FILES ${parson_h_install_files}
|
| 87 |
+
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azureiot
|
| 88 |
+
- )
|
| 89 |
+
- install(TARGETS ${parson_install_libs} EXPORT azure_iot_sdksTargets
|
| 90 |
+
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
| 91 |
+
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
| 92 |
+
- INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azureiot
|
| 93 |
+
- )
|
| 94 |
+
+ find_package(unofficial-parson REQUIRED CONFIG)
|
| 95 |
+
+ if(NOT TARGET parson)
|
| 96 |
+
+ add_library(parson ALIAS unofficial::parson::parson)
|
| 97 |
+
+ endif()
|
| 98 |
+
|
| 99 |
+
install(EXPORT azure_iot_sdksTargets
|
| 100 |
+
FILE
|
| 101 |
+
@@ -446,11 +431,5 @@ if (${use_installed_dependencies})
|
| 102 |
+
DESTINATION
|
| 103 |
+
${package_location}
|
| 104 |
+
)
|
| 105 |
+
-else()
|
| 106 |
+
- install(FILES ${parson_h_install_files}
|
| 107 |
+
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/azureiot)
|
| 108 |
+
- install(TARGETS ${parson_install_libs}
|
| 109 |
+
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
| 110 |
+
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
| 111 |
+
endif()
|
| 112 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/improve-external-deps.patch
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/configs/azure_iot_sdksConfig.cmake b/configs/azure_iot_sdksConfig.cmake
|
| 2 |
+
index b9c62e8..edf5847 100644
|
| 3 |
+
--- a/configs/azure_iot_sdksConfig.cmake
|
| 4 |
+
+++ b/configs/azure_iot_sdksConfig.cmake
|
| 5 |
+
@@ -1,5 +1,11 @@
|
| 6 |
+
#Copyright (c) Microsoft. All rights reserved.
|
| 7 |
+
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
| 8 |
+
+include(CMakeFindDependencyMacro)
|
| 9 |
+
+find_dependency(unofficial-parson)
|
| 10 |
+
+find_dependency(uamqp)
|
| 11 |
+
+find_dependency(uhttp)
|
| 12 |
+
+find_dependency(umqtt)
|
| 13 |
+
+find_dependency(azure_c_shared_utility)
|
| 14 |
+
|
| 15 |
+
include("${CMAKE_CURRENT_LIST_DIR}/azure_iot_sdksTargets.cmake")
|
| 16 |
+
|
| 17 |
+
diff --git a/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt b/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt
|
| 18 |
+
index 33b5b8709..45ef7b87a 100644
|
| 19 |
+
--- a/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt
|
| 20 |
+
+++ b/iothub_client/tests/iothubclient_amqp_dt_e2e/CMakeLists.txt
|
| 21 |
+
@@ -22,11 +22,9 @@ set(${theseTestsName}_c_files
|
| 22 |
+
|
| 23 |
+
set(${theseTestsName}_c_files
|
| 24 |
+
../../../certs/certs.c
|
| 25 |
+
- ../../../deps/parson/parson.c
|
| 26 |
+
)
|
| 27 |
+
set(${theseTestsName}_h_files
|
| 28 |
+
../../../certs/certs.h
|
| 29 |
+
- ../../../deps/parson/parson.h
|
| 30 |
+
../common_dt_e2e/iothubclient_common_dt_e2e.h
|
| 31 |
+
)
|
| 32 |
+
|
| 33 |
+
diff --git a/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt b/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt
|
| 34 |
+
index d05d654..5872c8d 100644
|
| 35 |
+
--- a/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt
|
| 36 |
+
+++ b/iothub_client/tests/iothubclient_mqtt_dt_e2e_sfc/CMakeLists.txt
|
| 37 |
+
@@ -22,12 +22,10 @@ set(${theseTestsName}_nuget_c_files
|
| 38 |
+
|
| 39 |
+
set(${theseTestsName}_c_files
|
| 40 |
+
../../../certs/certs.c
|
| 41 |
+
- ../../../deps/parson/parson.c
|
| 42 |
+
)
|
| 43 |
+
|
| 44 |
+
set(${theseTestsName}_h_files
|
| 45 |
+
../../../certs/certs.h
|
| 46 |
+
- ../../../deps/parson/parson.h
|
| 47 |
+
../common_dt_e2e/iothubclient_common_dt_e2e.h
|
| 48 |
+
)
|
| 49 |
+
|
| 50 |
+
diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt
|
| 51 |
+
index 22e24f851..7dc30beba 100644
|
| 52 |
+
--- a/deps/CMakeLists.txt
|
| 53 |
+
+++ b/deps/CMakeLists.txt
|
| 54 |
+
@@ -37,5 +37,8 @@ endif()
|
| 55 |
+
if(NOT ${use_installed_dependencies})
|
| 56 |
+
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/parson)
|
| 57 |
+
else()
|
| 58 |
+
- find_package(parson REQUIRED CONFIG)
|
| 59 |
+
+ find_package(unofficial-parson REQUIRED CONFIG)
|
| 60 |
+
+ if(NOT TARGET parson)
|
| 61 |
+
+ add_library(parson ALIAS unofficial::parson::parson)
|
| 62 |
+
+ endif()
|
| 63 |
+
endif()
|
| 64 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 65 |
+
index b72bd41ed..b2812f1fd 100644
|
| 66 |
+
--- a/CMakeLists.txt
|
| 67 |
+
+++ b/CMakeLists.txt
|
| 68 |
+
@@ -242,7 +242,10 @@ endif()
|
| 69 |
+
|
| 70 |
+
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/deps)
|
| 71 |
+
if(${use_installed_dependencies})
|
| 72 |
+
- find_package(parson REQUIRED CONFIG)
|
| 73 |
+
+ find_package(unofficial-parson REQUIRED CONFIG)
|
| 74 |
+
+ if(NOT TARGET parson)
|
| 75 |
+
+ add_library(parson ALIAS unofficial::parson::parson)
|
| 76 |
+
+ endif()
|
| 77 |
+
endif()
|
| 78 |
+
|
| 79 |
+
include_directories(${MACRO_UTILS_INC_FOLDER})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/portfile.cmake
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
| 2 |
+
|
| 3 |
+
if("public-preview" IN_LIST FEATURES)
|
| 4 |
+
vcpkg_from_github(
|
| 5 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 6 |
+
REPO Azure/azure-iot-sdk-c
|
| 7 |
+
REF cb2e8d390df56ffa31d08ca0a79ab58ff96160cc
|
| 8 |
+
SHA512 6798b17d6768b3ccbd0eb66719b50f364cd951736eb71110e2dc9deca054a1566ff88b9e8c5e9b52536e4308cad6cd3cbebff3282c123083e3afaee5535e724b
|
| 9 |
+
HEAD_REF public-preview
|
| 10 |
+
PATCHES
|
| 11 |
+
improve-external-deps-preview.patch
|
| 12 |
+
)
|
| 13 |
+
else()
|
| 14 |
+
vcpkg_from_github(
|
| 15 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 16 |
+
REPO Azure/azure-iot-sdk-c
|
| 17 |
+
REF 5805fb669ffe2adff021d68c62725d0bd783ac49
|
| 18 |
+
SHA512 8f1aa1020f3bb8b3e801f3977d11be50fd07d961c89ac921f795ef8a99312f12e1ddb2268ce3d2fb84b6a42bb5806cde410e6b51c7c4539a9a11a9ae512dbcd1
|
| 19 |
+
HEAD_REF master
|
| 20 |
+
PATCHES
|
| 21 |
+
fix-install-location.patch
|
| 22 |
+
improve-external-deps.patch
|
| 23 |
+
fix-iothubclient-includes.patch
|
| 24 |
+
)
|
| 25 |
+
endif()
|
| 26 |
+
|
| 27 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
| 28 |
+
FEATURES
|
| 29 |
+
use-prov-client hsm_type_symm_key
|
| 30 |
+
use-prov-client use_prov_client
|
| 31 |
+
)
|
| 32 |
+
|
| 33 |
+
file(COPY "${CURRENT_INSTALLED_DIR}/share/azure-c-shared-utility/azure_iot_build_rules.cmake" DESTINATION "${SOURCE_PATH}/deps/azure-c-shared-utility/configs/")
|
| 34 |
+
file(COPY "${SOURCE_PATH}/configs/azure_iot_sdksFunctions.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/cmake/azure_iot_sdks/")
|
| 35 |
+
|
| 36 |
+
vcpkg_cmake_configure(
|
| 37 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 38 |
+
OPTIONS ${FEATURE_OPTIONS}
|
| 39 |
+
-Dskip_samples=ON
|
| 40 |
+
-Duse_installed_dependencies=ON
|
| 41 |
+
-Duse_default_uuid=ON
|
| 42 |
+
-Dbuild_as_dynamic=OFF
|
| 43 |
+
-Duse_edge_modules=ON
|
| 44 |
+
-Dwarnings_as_errors=OFF
|
| 45 |
+
MAYBE_UNUSED_VARIABLES
|
| 46 |
+
build_as_dynamic
|
| 47 |
+
warnings_as_errors
|
| 48 |
+
)
|
| 49 |
+
|
| 50 |
+
vcpkg_cmake_install()
|
| 51 |
+
|
| 52 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME azure_iot_sdks CONFIG_PATH "lib/cmake/azure_iot_sdks")
|
| 53 |
+
|
| 54 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 55 |
+
|
| 56 |
+
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
| 57 |
+
|
| 58 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-iot-sdk-c/vcpkg.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "azure-iot-sdk-c",
|
| 3 |
+
"version-date": "2022-01-21",
|
| 4 |
+
"port-version": 2,
|
| 5 |
+
"description": "A C99 SDK for connecting devices to Microsoft Azure IoT services",
|
| 6 |
+
"homepage": "https://github.com/Azure/azure-iot-sdk-c",
|
| 7 |
+
"license": "MIT",
|
| 8 |
+
"dependencies": [
|
| 9 |
+
"azure-c-shared-utility",
|
| 10 |
+
"azure-macro-utils-c",
|
| 11 |
+
"azure-uamqp-c",
|
| 12 |
+
"azure-uhttp-c",
|
| 13 |
+
"azure-umqtt-c",
|
| 14 |
+
"parson",
|
| 15 |
+
"umock-c",
|
| 16 |
+
{
|
| 17 |
+
"name": "vcpkg-cmake",
|
| 18 |
+
"host": true
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"name": "vcpkg-cmake-config",
|
| 22 |
+
"host": true
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"features": {
|
| 26 |
+
"public-preview": {
|
| 27 |
+
"description": "A version of the azure-iot-sdk-c containing public-preview features.",
|
| 28 |
+
"dependencies": [
|
| 29 |
+
{
|
| 30 |
+
"name": "azure-c-shared-utility",
|
| 31 |
+
"features": [
|
| 32 |
+
"public-preview"
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": "azure-macro-utils-c",
|
| 37 |
+
"features": [
|
| 38 |
+
"public-preview"
|
| 39 |
+
]
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"name": "azure-uamqp-c",
|
| 43 |
+
"features": [
|
| 44 |
+
"public-preview"
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": "azure-uhttp-c",
|
| 49 |
+
"features": [
|
| 50 |
+
"public-preview"
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": "azure-umqtt-c",
|
| 55 |
+
"features": [
|
| 56 |
+
"public-preview"
|
| 57 |
+
]
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": "umock-c",
|
| 61 |
+
"features": [
|
| 62 |
+
"public-preview"
|
| 63 |
+
]
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
},
|
| 67 |
+
"use-prov-client": {
|
| 68 |
+
"description": "Enables device provisioning client for DPS"
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-build-imgui.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/tools/k4aviewer/k4alogdockcontrol.cpp b/tools/k4aviewer/k4alogdockcontrol.cpp
|
| 2 |
+
index 4289f71..407e912 100644
|
| 3 |
+
--- a/tools/k4aviewer/k4alogdockcontrol.cpp
|
| 4 |
+
+++ b/tools/k4aviewer/k4alogdockcontrol.cpp
|
| 5 |
+
@@ -161,7 +161,7 @@ K4ADockControlStatus K4ALogDockControl::Show()
|
| 6 |
+
|
| 7 |
+
if (updated)
|
| 8 |
+
{
|
| 9 |
+
- ImGui::SetScrollHere(1.0f);
|
| 10 |
+
+ ImGui::SetScrollHereY(1.0f);
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
ImGui::EndChild();
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-builds.patch
ADDED
|
@@ -0,0 +1,618 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 2 |
+
index 4f002b5..d48f3f2 100644
|
| 3 |
+
--- a/CMakeLists.txt
|
| 4 |
+
+++ b/CMakeLists.txt
|
| 5 |
+
@@ -27,8 +27,6 @@ option(K4A_BUILD_DOCS "Build K4A doxygen documentation" OFF)
|
| 6 |
+
option(K4A_MTE_VERSION "Skip FW version check" OFF)
|
| 7 |
+
option(K4A_SOURCE_LINK "Enable source linking on MSVC" OFF)
|
| 8 |
+
|
| 9 |
+
-include(GitCommands)
|
| 10 |
+
-
|
| 11 |
+
# Set the project version
|
| 12 |
+
include(K4AProjectVersion)
|
| 13 |
+
|
| 14 |
+
@@ -100,6 +98,43 @@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL
|
| 15 |
+
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
| 16 |
+
endif()
|
| 17 |
+
|
| 18 |
+
+find_package(azure_c_shared_utility CONFIG REQUIRED)
|
| 19 |
+
+find_package(glfw3 CONFIG REQUIRED)
|
| 20 |
+
+find_package(cJSON CONFIG REQUIRED)
|
| 21 |
+
+find_package(GTest CONFIG REQUIRED)
|
| 22 |
+
+find_package(imgui CONFIG REQUIRED)
|
| 23 |
+
+find_package(EBML CONFIG REQUIRED)
|
| 24 |
+
+find_path(TURBOJPEG_INCLUDE_DIR NAMES turbojpeg.h PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include" NO_DEFAULT_PATH REQUIRED)
|
| 25 |
+
+find_library(TURBOJPEG_LIBRARY_RELEASE NAMES turbojpeg PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib" NO_DEFAULT_PATH REQUIRED)
|
| 26 |
+
+add_library(libjpeg-turbo::libjpeg-turbo UNKNOWN IMPORTED)
|
| 27 |
+
+set_property(TARGET libjpeg-turbo::libjpeg-turbo PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${TURBOJPEG_INCLUDE_DIR})
|
| 28 |
+
+set_property(TARGET libjpeg-turbo::libjpeg-turbo PROPERTY IMPORTED_LOCATION_RELEASE ${TURBOJPEG_LIBRARY_RELEASE})
|
| 29 |
+
+if(EXISTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib")
|
| 30 |
+
+ find_library(TURBOJPEG_LIBRARY_DEBUG NAMES turbojpeg PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib" NO_DEFAULT_PATH REQUIRED)
|
| 31 |
+
+ set_property(TARGET libjpeg-turbo::libjpeg-turbo PROPERTY IMPORTED_LOCATION_DEBUG ${TURBOJPEG_LIBRARY_DEBUG})
|
| 32 |
+
+endif()
|
| 33 |
+
+find_package(Matroska CONFIG REQUIRED)
|
| 34 |
+
+add_definitions(-DMATROSKA_VERSION=2)
|
| 35 |
+
+find_package(libsoundio CONFIG REQUIRED)
|
| 36 |
+
+if (NOT WIN32)
|
| 37 |
+
+ find_package(libusb CONFIG REQUIRED)
|
| 38 |
+
+ find_package(libuvc CONFIG REQUIRED)
|
| 39 |
+
+ add_library(libuvc::libuvc ALIAS LibUVC::UVCStatic)
|
| 40 |
+
+ find_package(OpenSSL REQUIRED)
|
| 41 |
+
+ find_package(ZLIB REQUIRED)
|
| 42 |
+
+else()
|
| 43 |
+
+ find_library(LibUSB libusb-1.0 REQUIRED)
|
| 44 |
+
+endif()
|
| 45 |
+
+find_package(libyuv CONFIG REQUIRED)
|
| 46 |
+
+find_package(spdlog CONFIG REQUIRED)
|
| 47 |
+
+if (BUILD_TOOLS)
|
| 48 |
+
+ find_package(gl3w CONFIG REQUIRED)
|
| 49 |
+
+endif()
|
| 50 |
+
+# Fix embl error
|
| 51 |
+
+if ("MSVC")
|
| 52 |
+
+add_compile_options(/wd4828 /wd4251 /wd4275)
|
| 53 |
+
+endif()
|
| 54 |
+
+
|
| 55 |
+
# Find all dependencies
|
| 56 |
+
add_subdirectory(extern)
|
| 57 |
+
|
| 58 |
+
@@ -161,10 +196,16 @@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
| 59 |
+
endif()
|
| 60 |
+
endif()
|
| 61 |
+
|
| 62 |
+
-add_subdirectory(examples)
|
| 63 |
+
-add_subdirectory(src)
|
| 64 |
+
-add_subdirectory(tests)
|
| 65 |
+
-add_subdirectory(tools)
|
| 66 |
+
+if (BUILD_EXAMPLES)
|
| 67 |
+
+ add_subdirectory(examples)
|
| 68 |
+
+endif()
|
| 69 |
+
+ add_subdirectory(src)
|
| 70 |
+
+if (WITH_TEST)
|
| 71 |
+
+ add_subdirectory(tests)
|
| 72 |
+
+endif()
|
| 73 |
+
+if (BUILD_TOOLS)
|
| 74 |
+
+ add_subdirectory(tools)
|
| 75 |
+
+endif()
|
| 76 |
+
|
| 77 |
+
if (K4A_BUILD_DOCS)
|
| 78 |
+
find_package(Doxygen 1.8.14 EXACT)
|
| 79 |
+
diff --git a/examples/viewer/opengl/CMakeLists.txt b/examples/viewer/opengl/CMakeLists.txt
|
| 80 |
+
index 166fe2a..a3db07f 100644
|
| 81 |
+
--- a/examples/viewer/opengl/CMakeLists.txt
|
| 82 |
+
+++ b/examples/viewer/opengl/CMakeLists.txt
|
| 83 |
+
@@ -14,6 +14,6 @@ add_executable(viewer_opengl
|
| 84 |
+
|
| 85 |
+
target_link_libraries(viewer_opengl PRIVATE
|
| 86 |
+
k4a::k4a
|
| 87 |
+
- glfw::glfw
|
| 88 |
+
+ glfw
|
| 89 |
+
imgui::imgui
|
| 90 |
+
${OPENGL_LIBRARIES})
|
| 91 |
+
|
| 92 |
+
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt
|
| 93 |
+
index cb4f7b4..3d00084 100644
|
| 94 |
+
--- a/extern/CMakeLists.txt
|
| 95 |
+
+++ b/extern/CMakeLists.txt
|
| 96 |
+
@@ -1,7 +1,6 @@
|
| 97 |
+
# External dependencies are pulled in via submodules. Lets make sure the user
|
| 98 |
+
# has updated all the submodules
|
| 99 |
+
-if ((NOT K4A_TURNED_ON_GIT_SUBMODULES_RECURSE) OR
|
| 100 |
+
- (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/azure_c_shared/src/CMakeLists.txt"))
|
| 101 |
+
+if (0)
|
| 102 |
+
find_package(Git REQUIRED QUIET)
|
| 103 |
+
if (Git_FOUND)
|
| 104 |
+
get_git_dir(${K4A_SOURCE_DIR} GIT_DIR)
|
| 105 |
+
@@ -57,18 +56,4 @@ endif()
|
| 106 |
+
# lower than CMake 3.3
|
| 107 |
+
set(CMAKE_POLICY_DEFAULT_CMP0063 NEW)
|
| 108 |
+
|
| 109 |
+
-add_subdirectory(azure_c_shared)
|
| 110 |
+
-add_subdirectory(cjson)
|
| 111 |
+
-add_subdirectory(glfw)
|
| 112 |
+
-add_subdirectory(googletest)
|
| 113 |
+
-add_subdirectory(imgui)
|
| 114 |
+
-add_subdirectory(libebml)
|
| 115 |
+
-add_subdirectory(libjpeg-turbo)
|
| 116 |
+
-add_subdirectory(libmatroska)
|
| 117 |
+
-add_subdirectory(libsoundio)
|
| 118 |
+
-add_subdirectory(libyuv)
|
| 119 |
+
-add_subdirectory(libuvc)
|
| 120 |
+
-add_subdirectory(spdlog)
|
| 121 |
+
-if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "WindowsStore")
|
| 122 |
+
- add_subdirectory(libusb)
|
| 123 |
+
-endif()
|
| 124 |
+
+
|
| 125 |
+
diff --git a/src/allocator/CMakeLists.txt b/src/allocator/CMakeLists.txt
|
| 126 |
+
index 7140274..3bb6747 100644
|
| 127 |
+
--- a/src/allocator/CMakeLists.txt
|
| 128 |
+
+++ b/src/allocator/CMakeLists.txt
|
| 129 |
+
@@ -11,7 +11,7 @@ target_include_directories(k4a_allocator PUBLIC
|
| 130 |
+
|
| 131 |
+
# Dependencies of this library
|
| 132 |
+
target_link_libraries(k4a_allocator PUBLIC
|
| 133 |
+
- azure::aziotsharedutil
|
| 134 |
+
+ aziotsharedutil
|
| 135 |
+
k4ainternal::image
|
| 136 |
+
k4ainternal::logging)
|
| 137 |
+
|
| 138 |
+
diff --git a/src/calibration/CMakeLists.txt b/src/calibration/CMakeLists.txt
|
| 139 |
+
index e96b7d0..ed69f41 100644
|
| 140 |
+
--- a/src/calibration/CMakeLists.txt
|
| 141 |
+
+++ b/src/calibration/CMakeLists.txt
|
| 142 |
+
@@ -11,7 +11,7 @@ target_include_directories(k4a_calibration PUBLIC
|
| 143 |
+
|
| 144 |
+
# Dependencies of this library
|
| 145 |
+
target_link_libraries(k4a_calibration PUBLIC
|
| 146 |
+
- cJSON::cJSON
|
| 147 |
+
+ cjson
|
| 148 |
+
k4ainternal::logging)
|
| 149 |
+
|
| 150 |
+
# Define alias for other targets to link against
|
| 151 |
+
diff --git a/src/calibration/calibration.c b/src/calibration/calibration.c
|
| 152 |
+
index bf5f34a..d37c4e6 100644
|
| 153 |
+
--- a/src/calibration/calibration.c
|
| 154 |
+
+++ b/src/calibration/calibration.c
|
| 155 |
+
@@ -6,7 +6,7 @@
|
| 156 |
+
|
| 157 |
+
// Dependent libraries
|
| 158 |
+
#include <k4ainternal/common.h>
|
| 159 |
+
-#include <cJSON.h>
|
| 160 |
+
+#include <cjson/cJSON.h>
|
| 161 |
+
#include <locale.h> //cJSON.h need this set correctly.
|
| 162 |
+
|
| 163 |
+
// System dependencies
|
| 164 |
+
diff --git a/src/capturesync/CMakeLists.txt b/src/capturesync/CMakeLists.txt
|
| 165 |
+
index a434593..bcb19ba 100644
|
| 166 |
+
--- a/src/capturesync/CMakeLists.txt
|
| 167 |
+
+++ b/src/capturesync/CMakeLists.txt
|
| 168 |
+
@@ -11,7 +11,7 @@ target_include_directories(k4a_capturesync PUBLIC
|
| 169 |
+
|
| 170 |
+
# Dependencies of this library
|
| 171 |
+
target_link_libraries(k4a_capturesync PUBLIC
|
| 172 |
+
- azure::aziotsharedutil
|
| 173 |
+
+ aziotsharedutil
|
| 174 |
+
k4ainternal::logging)
|
| 175 |
+
|
| 176 |
+
# Define alias for other targets to link against
|
| 177 |
+
diff --git a/src/dewrapper/CMakeLists.txt b/src/dewrapper/CMakeLists.txt
|
| 178 |
+
index 2756e43..f736fd1 100644
|
| 179 |
+
--- a/src/dewrapper/CMakeLists.txt
|
| 180 |
+
+++ b/src/dewrapper/CMakeLists.txt
|
| 181 |
+
@@ -10,7 +10,7 @@ target_include_directories(k4a_dewrapper PUBLIC
|
| 182 |
+
${K4A_PRIV_INCLUDE_DIR})
|
| 183 |
+
|
| 184 |
+
target_link_libraries(k4a_dewrapper PUBLIC
|
| 185 |
+
- azure::aziotsharedutil
|
| 186 |
+
+ aziotsharedutil
|
| 187 |
+
k4ainternal::allocator
|
| 188 |
+
k4ainternal::calibration
|
| 189 |
+
k4ainternal::logging
|
| 190 |
+
diff --git a/src/image/CMakeLists.txt b/src/image/CMakeLists.txt
|
| 191 |
+
index c40999b..82406e2 100644
|
| 192 |
+
--- a/src/image/CMakeLists.txt
|
| 193 |
+
+++ b/src/image/CMakeLists.txt
|
| 194 |
+
@@ -11,7 +11,7 @@ target_include_directories(k4a_image PUBLIC
|
| 195 |
+
|
| 196 |
+
# Dependencies of this library
|
| 197 |
+
target_link_libraries(k4a_image PUBLIC
|
| 198 |
+
- azure::aziotsharedutil
|
| 199 |
+
+ aziotsharedutil
|
| 200 |
+
k4ainternal::allocator
|
| 201 |
+
k4ainternal::logging)
|
| 202 |
+
|
| 203 |
+
diff --git a/src/logging/CMakeLists.txt b/src/logging/CMakeLists.txt
|
| 204 |
+
index cbf0e4d..ca81c41 100644
|
| 205 |
+
--- a/src/logging/CMakeLists.txt
|
| 206 |
+
+++ b/src/logging/CMakeLists.txt
|
| 207 |
+
@@ -11,7 +11,7 @@ target_include_directories(k4a_logging PUBLIC
|
| 208 |
+
|
| 209 |
+
# Dependencies of this library
|
| 210 |
+
target_link_libraries(k4a_logging PUBLIC
|
| 211 |
+
- azure::aziotsharedutil
|
| 212 |
+
+ aziotsharedutil
|
| 213 |
+
spdlog::spdlog
|
| 214 |
+
k4ainternal::rwlock
|
| 215 |
+
k4ainternal::global
|
| 216 |
+
diff --git a/src/logging/logging.cpp b/src/logging/logging.cpp
|
| 217 |
+
index 05264c5..41185de 100644
|
| 218 |
+
--- a/src/logging/logging.cpp
|
| 219 |
+
+++ b/src/logging/logging.cpp
|
| 220 |
+
@@ -24,6 +24,9 @@
|
| 221 |
+
#pragma warning(disable : 4702)
|
| 222 |
+
#endif
|
| 223 |
+
#include <spdlog/spdlog.h>
|
| 224 |
+
+#include <spdlog/sinks/stdout_color_sinks.h>
|
| 225 |
+
+#include <spdlog/sinks/rotating_file_sink.h>
|
| 226 |
+
+#include <spdlog/sinks/stdout_sinks.h>
|
| 227 |
+
#ifdef _MSC_VER
|
| 228 |
+
#pragma warning(default : 4702)
|
| 229 |
+
#endif
|
| 230 |
+
diff --git a/src/queue/CMakeLists.txt b/src/queue/CMakeLists.txt
|
| 231 |
+
index 03d15f4..a42a135 100644
|
| 232 |
+
--- a/src/queue/CMakeLists.txt
|
| 233 |
+
+++ b/src/queue/CMakeLists.txt
|
| 234 |
+
@@ -10,7 +10,7 @@ target_include_directories(k4a_queue PUBLIC
|
| 235 |
+
${K4A_PRIV_INCLUDE_DIR})
|
| 236 |
+
|
| 237 |
+
target_link_libraries(k4a_queue PUBLIC
|
| 238 |
+
- azure::aziotsharedutil
|
| 239 |
+
+ aziotsharedutil
|
| 240 |
+
k4ainternal::allocator
|
| 241 |
+
k4ainternal::logging
|
| 242 |
+
)
|
| 243 |
+
diff --git a/src/record/internal/CMakeLists.txt b/src/record/internal/CMakeLists.txt
|
| 244 |
+
index 97c6cf3..e9f5b1a 100644
|
| 245 |
+
--- a/src/record/internal/CMakeLists.txt
|
| 246 |
+
+++ b/src/record/internal/CMakeLists.txt
|
| 247 |
+
@@ -22,16 +22,16 @@ target_include_directories(k4a_playback PUBLIC
|
| 248 |
+
target_link_libraries(k4a_record PUBLIC
|
| 249 |
+
k4a::k4a
|
| 250 |
+
k4ainternal::logging
|
| 251 |
+
- ebml::ebml
|
| 252 |
+
- matroska::matroska
|
| 253 |
+
+ EBML::ebml
|
| 254 |
+
+ Matroska::matroska
|
| 255 |
+
)
|
| 256 |
+
|
| 257 |
+
target_link_libraries(k4a_playback PUBLIC
|
| 258 |
+
k4a::k4a
|
| 259 |
+
k4ainternal::logging
|
| 260 |
+
- ebml::ebml
|
| 261 |
+
- matroska::matroska
|
| 262 |
+
- libyuv::libyuv
|
| 263 |
+
+ EBML::ebml
|
| 264 |
+
+ Matroska::matroska
|
| 265 |
+
+ yuv
|
| 266 |
+
libjpeg-turbo::libjpeg-turbo
|
| 267 |
+
)
|
| 268 |
+
|
| 269 |
+
diff --git a/src/record/sdk/CMakeLists.txt b/src/record/sdk/CMakeLists.txt
|
| 270 |
+
index 2e23295..d150e70 100644
|
| 271 |
+
--- a/src/record/sdk/CMakeLists.txt
|
| 272 |
+
+++ b/src/record/sdk/CMakeLists.txt
|
| 273 |
+
@@ -40,8 +40,8 @@ target_link_libraries(k4arecord PRIVATE
|
| 274 |
+
k4ainternal::record
|
| 275 |
+
k4ainternal::playback
|
| 276 |
+
k4ainternal::logging
|
| 277 |
+
- ebml::ebml
|
| 278 |
+
- matroska::matroska
|
| 279 |
+
+ EBML::ebml
|
| 280 |
+
+ Matroska::matroska
|
| 281 |
+
)
|
| 282 |
+
|
| 283 |
+
target_link_libraries(k4arecord PUBLIC
|
| 284 |
+
diff --git a/src/tewrapper/CMakeLists.txt b/src/tewrapper/CMakeLists.txt
|
| 285 |
+
index e4a696e..6ee6696 100644
|
| 286 |
+
--- a/src/tewrapper/CMakeLists.txt
|
| 287 |
+
+++ b/src/tewrapper/CMakeLists.txt
|
| 288 |
+
@@ -10,7 +10,7 @@ target_include_directories(k4a_tewrapper PUBLIC
|
| 289 |
+
${K4A_PRIV_INCLUDE_DIR})
|
| 290 |
+
|
| 291 |
+
target_link_libraries(k4a_tewrapper PUBLIC
|
| 292 |
+
- azure::aziotsharedutil
|
| 293 |
+
+ aziotsharedutil
|
| 294 |
+
k4ainternal::logging
|
| 295 |
+
k4ainternal::deloader)
|
| 296 |
+
|
| 297 |
+
diff --git a/src/usbcommand/CMakeLists.txt b/src/usbcommand/CMakeLists.txt
|
| 298 |
+
index f75bd55..5403216 100644
|
| 299 |
+
--- a/src/usbcommand/CMakeLists.txt
|
| 300 |
+
+++ b/src/usbcommand/CMakeLists.txt
|
| 301 |
+
@@ -12,8 +12,8 @@ target_include_directories(k4a_usb_cmd PUBLIC
|
| 302 |
+
|
| 303 |
+
# Dependencies of this library
|
| 304 |
+
target_link_libraries(k4a_usb_cmd PUBLIC
|
| 305 |
+
- azure::aziotsharedutil
|
| 306 |
+
- LibUSB::LibUSB
|
| 307 |
+
+ aziotsharedutil
|
| 308 |
+
+ ${LibUSB}
|
| 309 |
+
k4ainternal::allocator
|
| 310 |
+
k4ainternal::image
|
| 311 |
+
k4ainternal::logging)
|
| 312 |
+
diff --git a/src/usbcommand/usb_cmd_priv.h b/src/usbcommand/usb_cmd_priv.h
|
| 313 |
+
index 0aa502c..0405b58 100644
|
| 314 |
+
--- a/src/usbcommand/usb_cmd_priv.h
|
| 315 |
+
+++ b/src/usbcommand/usb_cmd_priv.h
|
| 316 |
+
@@ -20,7 +20,7 @@
|
| 317 |
+
#include <azure_c_shared_utility/threadapi.h>
|
| 318 |
+
|
| 319 |
+
// Exteranl dependencis
|
| 320 |
+
-#include <libusb.h>
|
| 321 |
+
+#include <libusb-1.0/libusb.h>
|
| 322 |
+
|
| 323 |
+
// Ensure we have LIBUSB_API_VERSION defined if not defined by libusb.h
|
| 324 |
+
#ifndef LIBUSB_API_VERSION
|
| 325 |
+
diff --git a/tests/Calibration/CMakeLists.txt b/tests/Calibration/CMakeLists.txt
|
| 326 |
+
index ea6a9dd..c107269 100644
|
| 327 |
+
--- a/tests/Calibration/CMakeLists.txt
|
| 328 |
+
+++ b/tests/Calibration/CMakeLists.txt
|
| 329 |
+
@@ -4,8 +4,8 @@
|
| 330 |
+
add_executable(calibration_ut calibration.cpp)
|
| 331 |
+
|
| 332 |
+
target_link_libraries(calibration_ut PRIVATE
|
| 333 |
+
- azure::aziotsharedutil
|
| 334 |
+
- gtest::gtest
|
| 335 |
+
+ aziotsharedutil
|
| 336 |
+
+ GTest::gtest
|
| 337 |
+
k4ainternal::calibration
|
| 338 |
+
k4ainternal::utcommon)
|
| 339 |
+
|
| 340 |
+
diff --git a/tests/CaptureSync/CMakeLists.txt b/tests/CaptureSync/CMakeLists.txt
|
| 341 |
+
index 0a9a8e2..f7bff42 100644
|
| 342 |
+
--- a/tests/CaptureSync/CMakeLists.txt
|
| 343 |
+
+++ b/tests/CaptureSync/CMakeLists.txt
|
| 344 |
+
@@ -4,8 +4,8 @@
|
| 345 |
+
add_executable(capturesync_ut capturesync.cpp)
|
| 346 |
+
|
| 347 |
+
target_link_libraries(capturesync_ut PRIVATE
|
| 348 |
+
- azure::aziotsharedutil
|
| 349 |
+
- gtest::gtest
|
| 350 |
+
+ aziotsharedutil
|
| 351 |
+
+ GTest::gtest
|
| 352 |
+
k4ainternal::allocator
|
| 353 |
+
k4ainternal::capturesync
|
| 354 |
+
k4ainternal::image
|
| 355 |
+
diff --git a/tests/ColorTests/FunctionalTest/CMakeLists.txt b/tests/ColorTests/FunctionalTest/CMakeLists.txt
|
| 356 |
+
index 1e65ad7..709dfb0 100644
|
| 357 |
+
--- a/tests/ColorTests/FunctionalTest/CMakeLists.txt
|
| 358 |
+
+++ b/tests/ColorTests/FunctionalTest/CMakeLists.txt
|
| 359 |
+
@@ -6,7 +6,7 @@ add_executable(color_ft color_ft.cpp)
|
| 360 |
+
target_link_libraries(color_ft PRIVATE
|
| 361 |
+
k4a::k4a
|
| 362 |
+
k4ainternal::utcommon
|
| 363 |
+
- gtest::gtest
|
| 364 |
+
- azure::aziotsharedutil)
|
| 365 |
+
+ GTest::gtest
|
| 366 |
+
+ aziotsharedutil)
|
| 367 |
+
|
| 368 |
+
k4a_add_tests(TARGET color_ft HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL)
|
| 369 |
+
diff --git a/tests/DepthTests/FunctionalTest/CMakeLists.txt b/tests/DepthTests/FunctionalTest/CMakeLists.txt
|
| 370 |
+
index 469c125..00f15f8 100644
|
| 371 |
+
--- a/tests/DepthTests/FunctionalTest/CMakeLists.txt
|
| 372 |
+
+++ b/tests/DepthTests/FunctionalTest/CMakeLists.txt
|
| 373 |
+
@@ -6,7 +6,7 @@ add_executable(depth_ft depth_ft.cpp)
|
| 374 |
+
target_link_libraries(depth_ft PRIVATE
|
| 375 |
+
k4a::k4a
|
| 376 |
+
k4ainternal::utcommon
|
| 377 |
+
- gtest::gtest
|
| 378 |
+
- azure::aziotsharedutil)
|
| 379 |
+
+ GTest::gtest
|
| 380 |
+
+ aziotsharedutil)
|
| 381 |
+
|
| 382 |
+
k4a_add_tests(TARGET depth_ft HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL)
|
| 383 |
+
diff --git a/tests/ExternLibraries/azure_c_shared/CMakeLists.txt b/tests/ExternLibraries/azure_c_shared/CMakeLists.txt
|
| 384 |
+
index a487cde..44170f4 100644
|
| 385 |
+
--- a/tests/ExternLibraries/azure_c_shared/CMakeLists.txt
|
| 386 |
+
+++ b/tests/ExternLibraries/azure_c_shared/CMakeLists.txt
|
| 387 |
+
@@ -6,7 +6,7 @@ add_executable(azure_c_shared_test
|
| 388 |
+
threading.cpp)
|
| 389 |
+
|
| 390 |
+
target_link_libraries(azure_c_shared_test PRIVATE
|
| 391 |
+
- azure::aziotsharedutil
|
| 392 |
+
- gtest::gtest)
|
| 393 |
+
+ aziotsharedutil
|
| 394 |
+
+ GTest::gtest)
|
| 395 |
+
|
| 396 |
+
k4a_add_tests(TARGET azure_c_shared_test TEST_TYPE UNIT)
|
| 397 |
+
diff --git a/tests/IMUTests/FunctionalTest/CMakeLists.txt b/tests/IMUTests/FunctionalTest/CMakeLists.txt
|
| 398 |
+
index cc6b3c2..d8762f6 100644
|
| 399 |
+
--- a/tests/IMUTests/FunctionalTest/CMakeLists.txt
|
| 400 |
+
+++ b/tests/IMUTests/FunctionalTest/CMakeLists.txt
|
| 401 |
+
@@ -6,7 +6,7 @@ add_executable(imu_ft imu_ft.cpp)
|
| 402 |
+
target_link_libraries(imu_ft PRIVATE
|
| 403 |
+
k4a::k4a
|
| 404 |
+
k4ainternal::utcommon
|
| 405 |
+
- gtest::gtest
|
| 406 |
+
- azure::aziotsharedutil)
|
| 407 |
+
+ GTest::gtest
|
| 408 |
+
+ aziotsharedutil)
|
| 409 |
+
|
| 410 |
+
k4a_add_tests(TARGET imu_ft HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL)
|
| 411 |
+
diff --git a/tests/Transformation/CMakeLists.txt b/tests/Transformation/CMakeLists.txt
|
| 412 |
+
index 7f11a2f..c4ddaf8 100644
|
| 413 |
+
--- a/tests/Transformation/CMakeLists.txt
|
| 414 |
+
+++ b/tests/Transformation/CMakeLists.txt
|
| 415 |
+
@@ -4,8 +4,8 @@
|
| 416 |
+
add_executable(transformation_ut transformation.cpp)
|
| 417 |
+
|
| 418 |
+
target_link_libraries(transformation_ut PRIVATE
|
| 419 |
+
- azure::aziotsharedutil
|
| 420 |
+
- gtest::gtest
|
| 421 |
+
+ aziotsharedutil
|
| 422 |
+
+ GTest::gtest
|
| 423 |
+
k4ainternal::image
|
| 424 |
+
k4ainternal::transformation
|
| 425 |
+
k4ainternal::utcommon
|
| 426 |
+
diff --git a/tests/UnitTests/allocator_ut/CMakeLists.txt b/tests/UnitTests/allocator_ut/CMakeLists.txt
|
| 427 |
+
index 913a7d8..0b7baeb 100644
|
| 428 |
+
--- a/tests/UnitTests/allocator_ut/CMakeLists.txt
|
| 429 |
+
+++ b/tests/UnitTests/allocator_ut/CMakeLists.txt
|
| 430 |
+
@@ -4,8 +4,8 @@
|
| 431 |
+
add_executable(allocator_ut allocator.cpp)
|
| 432 |
+
|
| 433 |
+
target_link_libraries(allocator_ut PRIVATE
|
| 434 |
+
- azure::aziotsharedutil
|
| 435 |
+
- gtest::gtest
|
| 436 |
+
+ aziotsharedutil
|
| 437 |
+
+ GTest::gtest
|
| 438 |
+
k4ainternal::allocator
|
| 439 |
+
k4ainternal::image
|
| 440 |
+
k4ainternal::utcommon)
|
| 441 |
+
diff --git a/tests/UnitTests/dynlib_ut/CMakeLists.txt b/tests/UnitTests/dynlib_ut/CMakeLists.txt
|
| 442 |
+
index fbecc17..af73be2 100644
|
| 443 |
+
--- a/tests/UnitTests/dynlib_ut/CMakeLists.txt
|
| 444 |
+
+++ b/tests/UnitTests/dynlib_ut/CMakeLists.txt
|
| 445 |
+
@@ -34,7 +34,7 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
| 446 |
+
endif()
|
| 447 |
+
|
| 448 |
+
target_link_libraries(dynlib_ut PRIVATE
|
| 449 |
+
- gtest::gtest
|
| 450 |
+
+ GTest::gtest
|
| 451 |
+
k4ainternal::dynlib
|
| 452 |
+
k4ainternal::utcommon)
|
| 453 |
+
|
| 454 |
+
diff --git a/tests/UnitTests/queue_ut/CMakeLists.txt b/tests/UnitTests/queue_ut/CMakeLists.txt
|
| 455 |
+
index cf9b040..ec4a024 100644
|
| 456 |
+
--- a/tests/UnitTests/queue_ut/CMakeLists.txt
|
| 457 |
+
+++ b/tests/UnitTests/queue_ut/CMakeLists.txt
|
| 458 |
+
@@ -4,8 +4,8 @@
|
| 459 |
+
add_executable(queue_ut queue.cpp)
|
| 460 |
+
|
| 461 |
+
target_link_libraries(queue_ut PRIVATE
|
| 462 |
+
- azure::aziotsharedutil
|
| 463 |
+
- gtest::gtest
|
| 464 |
+
+ aziotsharedutil
|
| 465 |
+
+ GTest::gtest
|
| 466 |
+
k4ainternal::allocator
|
| 467 |
+
k4ainternal::image
|
| 468 |
+
k4ainternal::queue
|
| 469 |
+
diff --git a/tests/UnitTests/utcommon/CMakeLists.txt b/tests/UnitTests/utcommon/CMakeLists.txt
|
| 470 |
+
index cca52c6..dfdd13d 100644
|
| 471 |
+
--- a/tests/UnitTests/utcommon/CMakeLists.txt
|
| 472 |
+
+++ b/tests/UnitTests/utcommon/CMakeLists.txt
|
| 473 |
+
@@ -4,8 +4,8 @@
|
| 474 |
+
add_library(utcommon STATIC utcommon.cpp)
|
| 475 |
+
|
| 476 |
+
target_link_libraries(utcommon PUBLIC
|
| 477 |
+
- gtest::gtest
|
| 478 |
+
- gtest::gmock
|
| 479 |
+
+ GTest::gtest
|
| 480 |
+
+ GTest::gmock
|
| 481 |
+
k4ainternal::logging
|
| 482 |
+
)
|
| 483 |
+
|
| 484 |
+
diff --git a/tests/example/CMakeLists.txt b/tests/example/CMakeLists.txt
|
| 485 |
+
index 3305a1a..be0b667 100644
|
| 486 |
+
--- a/tests/example/CMakeLists.txt
|
| 487 |
+
+++ b/tests/example/CMakeLists.txt
|
| 488 |
+
@@ -3,6 +3,6 @@
|
| 489 |
+
|
| 490 |
+
add_executable(k4a_example_test test.cpp)
|
| 491 |
+
target_link_libraries(k4a_example_test PRIVATE k4a::k4a)
|
| 492 |
+
-target_link_libraries(k4a_example_test PRIVATE gtest::gtest)
|
| 493 |
+
+target_link_libraries(k4a_example_test PRIVATE GTest::gtest)
|
| 494 |
+
|
| 495 |
+
k4a_add_tests(TARGET k4a_example_test HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL)
|
| 496 |
+
diff --git a/tests/executables/CMakeLists.txt b/tests/executables/CMakeLists.txt
|
| 497 |
+
index 7b03d15..6c070ee 100644
|
| 498 |
+
--- a/tests/executables/CMakeLists.txt
|
| 499 |
+
+++ b/tests/executables/CMakeLists.txt
|
| 500 |
+
@@ -17,12 +17,12 @@ target_compile_definitions(executables_ft_custom PRIVATE -DUSE_CUSTOM_TEST_CONFI
|
| 501 |
+
target_link_libraries(executables_ft PRIVATE
|
| 502 |
+
k4a::k4a
|
| 503 |
+
k4ainternal::utcommon
|
| 504 |
+
- gtest::gtest)
|
| 505 |
+
+ GTest::gtest)
|
| 506 |
+
|
| 507 |
+
target_link_libraries(executables_ft_custom PRIVATE
|
| 508 |
+
k4a::k4a
|
| 509 |
+
k4ainternal::utcommon
|
| 510 |
+
- gtest::gtest)
|
| 511 |
+
+ GTest::gtest)
|
| 512 |
+
|
| 513 |
+
k4a_add_tests(TARGET executables_ft HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL)
|
| 514 |
+
k4a_add_tests(TARGET executables_ft_custom HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL_CUSTOM)
|
| 515 |
+
diff --git a/tests/global/CMakeLists.txt b/tests/global/CMakeLists.txt
|
| 516 |
+
index ea0a0e5..d85728d 100644
|
| 517 |
+
--- a/tests/global/CMakeLists.txt
|
| 518 |
+
+++ b/tests/global/CMakeLists.txt
|
| 519 |
+
@@ -4,8 +4,8 @@
|
| 520 |
+
add_executable(global_ft global.cpp)
|
| 521 |
+
|
| 522 |
+
target_link_libraries(global_ft PRIVATE
|
| 523 |
+
- azure::aziotsharedutil
|
| 524 |
+
- gtest::gtest
|
| 525 |
+
+ aziotsharedutil
|
| 526 |
+
+ GTest::gtest
|
| 527 |
+
k4ainternal::global
|
| 528 |
+
k4ainternal::utcommon)
|
| 529 |
+
|
| 530 |
+
diff --git a/tests/multidevice/CMakeLists.txt b/tests/multidevice/CMakeLists.txt
|
| 531 |
+
index 3fe044b..85f3058 100644
|
| 532 |
+
--- a/tests/multidevice/CMakeLists.txt
|
| 533 |
+
+++ b/tests/multidevice/CMakeLists.txt
|
| 534 |
+
@@ -4,8 +4,8 @@
|
| 535 |
+
add_executable(multidevice_ft multidevice.cpp)
|
| 536 |
+
|
| 537 |
+
target_link_libraries(multidevice_ft PRIVATE
|
| 538 |
+
- azure::aziotsharedutil
|
| 539 |
+
- gtest::gtest
|
| 540 |
+
+ aziotsharedutil
|
| 541 |
+
+ GTest::gtest
|
| 542 |
+
k4a::k4a
|
| 543 |
+
k4ainternal::utcommon)
|
| 544 |
+
|
| 545 |
+
diff --git a/tests/projections/cpp/CMakeLists.txt b/tests/projections/cpp/CMakeLists.txt
|
| 546 |
+
index 2fdfa2c..09b5303 100644
|
| 547 |
+
--- a/tests/projections/cpp/CMakeLists.txt
|
| 548 |
+
+++ b/tests/projections/cpp/CMakeLists.txt
|
| 549 |
+
@@ -6,6 +6,6 @@ add_executable(cpp_projection_ft cpp_projection_ft.cpp)
|
| 550 |
+
target_link_libraries(cpp_projection_ft PRIVATE
|
| 551 |
+
k4a::k4a
|
| 552 |
+
k4ainternal::utcommon
|
| 553 |
+
- gtest::gtest)
|
| 554 |
+
+ GTest::gtest)
|
| 555 |
+
|
| 556 |
+
k4a_add_tests(TARGET cpp_projection_ft HARDWARE_REQUIRED TEST_TYPE FUNCTIONAL)
|
| 557 |
+
diff --git a/tests/rwlock/CMakeLists.txt b/tests/rwlock/CMakeLists.txt
|
| 558 |
+
index 5889435..c6c1f73 100644
|
| 559 |
+
--- a/tests/rwlock/CMakeLists.txt
|
| 560 |
+
+++ b/tests/rwlock/CMakeLists.txt
|
| 561 |
+
@@ -4,8 +4,8 @@
|
| 562 |
+
add_executable(rwlock_ft rwlock.cpp)
|
| 563 |
+
|
| 564 |
+
target_link_libraries(rwlock_ft PRIVATE
|
| 565 |
+
- azure::aziotsharedutil
|
| 566 |
+
- gtest::gtest
|
| 567 |
+
+ aziotsharedutil
|
| 568 |
+
+ GTest::gtest
|
| 569 |
+
k4ainternal::rwlock
|
| 570 |
+
k4ainternal::utcommon)
|
| 571 |
+
|
| 572 |
+
diff --git a/tests/throughput/CMakeLists.txt b/tests/throughput/CMakeLists.txt
|
| 573 |
+
index c544e1e..9489bf8 100644
|
| 574 |
+
--- a/tests/throughput/CMakeLists.txt
|
| 575 |
+
+++ b/tests/throughput/CMakeLists.txt
|
| 576 |
+
@@ -6,8 +6,8 @@ add_executable(throughput_perf throughput_perf.cpp)
|
| 577 |
+
target_compile_definitions(throughput_perf PRIVATE _CRT_SECURE_NO_WARNINGS)
|
| 578 |
+
|
| 579 |
+
target_link_libraries(throughput_perf PRIVATE
|
| 580 |
+
- azure::aziotsharedutil
|
| 581 |
+
- gtest::gtest
|
| 582 |
+
+ aziotsharedutil
|
| 583 |
+
+ GTest::gtest
|
| 584 |
+
k4a::k4a
|
| 585 |
+
k4ainternal::logging
|
| 586 |
+
k4ainternal::utcommon)
|
| 587 |
+
diff --git a/tools/k4aviewer/CMakeLists.txt b/tools/k4aviewer/CMakeLists.txt
|
| 588 |
+
index 98578c0..6ab38d9 100644
|
| 589 |
+
--- a/tools/k4aviewer/CMakeLists.txt
|
| 590 |
+
+++ b/tools/k4aviewer/CMakeLists.txt
|
| 591 |
+
@@ -60,10 +60,11 @@ set(EXTERNAL_LIBRARIES
|
| 592 |
+
imgui::imgui
|
| 593 |
+
libjpeg-turbo::libjpeg-turbo
|
| 594 |
+
libsoundio::libsoundio
|
| 595 |
+
- LibUSB::LibUSB
|
| 596 |
+
- libyuv::libyuv
|
| 597 |
+
- glfw::glfw
|
| 598 |
+
+ ${LibUSB}
|
| 599 |
+
+ yuv
|
| 600 |
+
+ glfw
|
| 601 |
+
${OPENGL_LIBRARIES}
|
| 602 |
+
+ unofficial::gl3w::gl3w
|
| 603 |
+
)
|
| 604 |
+
|
| 605 |
+
# On Windows, we need to call into setupapi to get USB container ID information
|
| 606 |
+
diff --git a/tools/k4aviewer/k4aaudiomanager.cpp b/tools/k4aviewer/k4aaudiomanager.cpp
|
| 607 |
+
index 243c800..ef85d45 100644
|
| 608 |
+
--- a/tools/k4aviewer/k4aaudiomanager.cpp
|
| 609 |
+
+++ b/tools/k4aviewer/k4aaudiomanager.cpp
|
| 610 |
+
@@ -11,7 +11,7 @@
|
| 611 |
+
|
| 612 |
+
// Library headers
|
| 613 |
+
//
|
| 614 |
+
-#include <libusb.h>
|
| 615 |
+
+#include <libusb-1.0/libusb.h>
|
| 616 |
+
|
| 617 |
+
// Project headers
|
| 618 |
+
//
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-calibration-c.patch
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/src/calibration/calibration.c b/src/calibration/calibration.c
|
| 2 |
+
index d37c4e6..ec477f5 100644
|
| 3 |
+
--- a/src/calibration/calibration.c
|
| 4 |
+
+++ b/src/calibration/calibration.c
|
| 5 |
+
@@ -7,7 +7,6 @@
|
| 6 |
+
// Dependent libraries
|
| 7 |
+
#include <k4ainternal/common.h>
|
| 8 |
+
#include <cjson/cJSON.h>
|
| 9 |
+
-#include <locale.h> //cJSON.h need this set correctly.
|
| 10 |
+
|
| 11 |
+
// System dependencies
|
| 12 |
+
#include <stdlib.h>
|
| 13 |
+
@@ -637,27 +636,6 @@ k4a_result_t calibration_create_from_raw(char *raw_calibration,
|
| 14 |
+
|
| 15 |
+
k4a_result_t result = K4A_RESULT_SUCCEEDED;
|
| 16 |
+
|
| 17 |
+
-#ifdef _WIN32
|
| 18 |
+
- int previous_thread_locale = -1;
|
| 19 |
+
- if (K4A_SUCCEEDED(result))
|
| 20 |
+
- {
|
| 21 |
+
- previous_thread_locale = _configthreadlocale(_ENABLE_PER_THREAD_LOCALE);
|
| 22 |
+
- result = K4A_RESULT_FROM_BOOL(previous_thread_locale == _ENABLE_PER_THREAD_LOCALE ||
|
| 23 |
+
- previous_thread_locale == _DISABLE_PER_THREAD_LOCALE);
|
| 24 |
+
- }
|
| 25 |
+
-
|
| 26 |
+
- if (K4A_SUCCEEDED(result))
|
| 27 |
+
- {
|
| 28 |
+
- result = K4A_RESULT_FROM_BOOL(setlocale(LC_ALL, "C") != NULL);
|
| 29 |
+
- }
|
| 30 |
+
-
|
| 31 |
+
-#else // NOT _WIN32
|
| 32 |
+
-
|
| 33 |
+
- locale_t thread_locale = newlocale(LC_ALL_MASK, "C", (locale_t)0);
|
| 34 |
+
- locale_t previous_locale = uselocale(thread_locale);
|
| 35 |
+
-
|
| 36 |
+
-#endif
|
| 37 |
+
-
|
| 38 |
+
if (K4A_SUCCEEDED(result) && depth_calibration != NULL)
|
| 39 |
+
{
|
| 40 |
+
result = get_camera_calibration(raw_calibration, depth_calibration, "CALIBRATION_CameraLocationD0");
|
| 41 |
+
@@ -680,29 +658,6 @@ k4a_result_t calibration_create_from_raw(char *raw_calibration,
|
| 42 |
+
"CALIBRATION_InertialSensorType_Accelerometer");
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
-#ifdef _WIN32
|
| 46 |
+
- if (previous_thread_locale == _ENABLE_PER_THREAD_LOCALE || previous_thread_locale == _DISABLE_PER_THREAD_LOCALE)
|
| 47 |
+
- {
|
| 48 |
+
- if (K4A_FAILED(K4A_RESULT_FROM_BOOL(_configthreadlocale(previous_thread_locale) != -1)))
|
| 49 |
+
- {
|
| 50 |
+
- // Only set result to failed, don't let this call succeed and clear a failure that might have happened
|
| 51 |
+
- // already.
|
| 52 |
+
- result = K4A_RESULT_FAILED;
|
| 53 |
+
- }
|
| 54 |
+
- }
|
| 55 |
+
-#else // NOT _WIN32
|
| 56 |
+
- if ((previous_locale != NULL) && (K4A_FAILED(K4A_RESULT_FROM_BOOL(uselocale(previous_locale) != NULL))))
|
| 57 |
+
- {
|
| 58 |
+
- // Only set result to failed, don't let this call succeed and clear a failure that might have happened
|
| 59 |
+
- // already.
|
| 60 |
+
- result = K4A_RESULT_FAILED;
|
| 61 |
+
- }
|
| 62 |
+
- if (thread_locale)
|
| 63 |
+
- {
|
| 64 |
+
- freelocale(thread_locale);
|
| 65 |
+
- }
|
| 66 |
+
-#endif
|
| 67 |
+
-
|
| 68 |
+
return result;
|
| 69 |
+
}
|
| 70 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-dependency-imgui.patch
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/tools/k4aviewer/CMakeLists.txt b/tools/k4aviewer/CMakeLists.txt
|
| 2 |
+
index 6ab38d9..f31f570 100644
|
| 3 |
+
--- a/tools/k4aviewer/CMakeLists.txt
|
| 4 |
+
+++ b/tools/k4aviewer/CMakeLists.txt
|
| 5 |
+
@@ -54,6 +54,8 @@ include_directories(
|
| 6 |
+
${CMAKE_CURRENT_LIST_DIR}
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
+find_package(GLEW REQUIRED)
|
| 10 |
+
+
|
| 11 |
+
set(EXTERNAL_LIBRARIES
|
| 12 |
+
k4a::k4a
|
| 13 |
+
k4a::k4arecord
|
| 14 |
+
@@ -65,6 +67,7 @@ set(EXTERNAL_LIBRARIES
|
| 15 |
+
glfw
|
| 16 |
+
${OPENGL_LIBRARIES}
|
| 17 |
+
unofficial::gl3w::gl3w
|
| 18 |
+
+ GLEW::GLEW
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
# On Windows, we need to call into setupapi to get USB container ID information
|
| 22 |
+
diff --git a/tools/k4aviewer/k4asoundio_util.h b/tools/k4aviewer/k4asoundio_util.h
|
| 23 |
+
index c9c2718..011a76e 100644
|
| 24 |
+
--- a/tools/k4aviewer/k4asoundio_util.h
|
| 25 |
+
+++ b/tools/k4aviewer/k4asoundio_util.h
|
| 26 |
+
@@ -16,7 +16,7 @@
|
| 27 |
+
// This disables that behavior.
|
| 28 |
+
//
|
| 29 |
+
#define NOMINMAX
|
| 30 |
+
-#include <soundio.h>
|
| 31 |
+
+#include <soundio/soundio.h>
|
| 32 |
+
|
| 33 |
+
// Project headers
|
| 34 |
+
//
|
| 35 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/fix-linux.patch
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/cmake/k4aCompilerFlags.cmake b/cmake/k4aCompilerFlags.cmake
|
| 2 |
+
index e938c907..ccea0a8e 100644
|
| 3 |
+
--- a/cmake/k4aCompilerFlags.cmake
|
| 4 |
+
+++ b/cmake/k4aCompilerFlags.cmake
|
| 5 |
+
@@ -34,22 +34,16 @@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
| 6 |
+
list(APPEND CLANG_ALL_WARNINGS "-Wno-extra-semi-stmt") # Allow semi-colons to be used after #define's
|
| 7 |
+
list(APPEND CLANG_ALL_WARNINGS "-Wno-atomic-implicit-seq-cst") # Allow use of __sync_add_and_fetch() atomic
|
| 8 |
+
endif()
|
| 9 |
+
- set(CLANG_WARNINGS_AS_ERRORS "-Werror")
|
| 10 |
+
add_compile_options(${CLANG_ALL_WARNINGS})
|
| 11 |
+
- add_compile_options(${CLANG_WARNINGS_AS_ERRORS})
|
| 12 |
+
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
| 13 |
+
set(GNU_ALL_WARNINGS "-Wall" "-Wextra")
|
| 14 |
+
list(APPEND GNU_ALL_WARNINGS "-Wno-missing-field-initializers") # Allow c structs without all fields initialized
|
| 15 |
+
- set(GNU_WARNINGS_AS_ERRORS "-Werror")
|
| 16 |
+
add_compile_options(${GNU_ALL_WARNINGS})
|
| 17 |
+
- add_compile_options(${GNU_WARNINGS_AS_ERRORS})
|
| 18 |
+
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
| 19 |
+
set(MSVC_ALL_WARNINGS "/W4" "/wd4200") #Note: allow zero length arrays
|
| 20 |
+
- set(MSVC_WARNINGS_AS_ERRORS "/WX")
|
| 21 |
+
string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
| 22 |
+
string(REGEX REPLACE " /W[0-4]" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
| 23 |
+
add_compile_options(${MSVC_ALL_WARNINGS})
|
| 24 |
+
- add_compile_options(${MSVC_WARNINGS_AS_ERRORS})
|
| 25 |
+
else()
|
| 26 |
+
message(FATAL_ERROR "Unknown C++ compiler: ${CMAKE_CXX_COMPILER_ID}")
|
| 27 |
+
endif()
|
| 28 |
+
diff --git a/src/logging/logging.cpp b/src/logging/logging.cpp
|
| 29 |
+
index 05264c5f..6cd41d32 100644
|
| 30 |
+
--- a/src/logging/logging.cpp
|
| 31 |
+
+++ b/src/logging/logging.cpp
|
| 32 |
+
@@ -15,6 +15,7 @@
|
| 33 |
+
#include <stdlib.h>
|
| 34 |
+
#include <stdio.h>
|
| 35 |
+
#include <string.h>
|
| 36 |
+
+#include <stdarg.h>
|
| 37 |
+
|
| 38 |
+
// External dependencies
|
| 39 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/k4adeploy.ps1
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Note: This function signature and behavior is depended upon by applocal.ps1
|
| 2 |
+
|
| 3 |
+
function deployAzureKinectSensorSDK([string]$targetBinaryDir, [string]$installedDir, [string]$targetBinaryName) {
|
| 4 |
+
if ($targetBinaryName -like "k4a.dll") {
|
| 5 |
+
if(Test-Path "$installedDir\tools\azure-kinect-sensor-sdk\depthengine_2_0.dll") {
|
| 6 |
+
Write-Verbose " Deploying Azure Kinect Sensor SDK Initialization"
|
| 7 |
+
deployBinary "$targetBinaryDir" "$installedDir\tools\azure-kinect-sensor-sdk\" "depthengine_2_0.dll"
|
| 8 |
+
}
|
| 9 |
+
}
|
| 10 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/portfile.cmake
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
set(VERSION 1.4.1)
|
| 2 |
+
vcpkg_from_github(
|
| 3 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
| 4 |
+
REPO microsoft/Azure-Kinect-Sensor-SDK
|
| 5 |
+
REF v${VERSION}
|
| 6 |
+
SHA512 ef94c072caae43b0a105b192013e09082d267d4064e6676fac981b52e7576a663f59fcb53f0afe66b425ef2cea0cb3aa224ff7be6485c0b5543ff9cdabd82d4d
|
| 7 |
+
HEAD_REF master
|
| 8 |
+
PATCHES
|
| 9 |
+
fix-builds.patch
|
| 10 |
+
fix-dependency-imgui.patch
|
| 11 |
+
fix-linux.patch
|
| 12 |
+
fix-calibration-c.patch
|
| 13 |
+
fix-build-imgui.patch
|
| 14 |
+
)
|
| 15 |
+
|
| 16 |
+
vcpkg_find_acquire_program(PYTHON3)
|
| 17 |
+
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
|
| 18 |
+
vcpkg_add_to_path("${PYTHON3_DIR}")
|
| 19 |
+
|
| 20 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
| 21 |
+
FEATURES
|
| 22 |
+
docs K4A_BUILD_DOCS
|
| 23 |
+
tool BUILD_TOOLS
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
# .rc file needs windows.h, so do not use PREFER_NINJA here
|
| 27 |
+
vcpkg_cmake_configure(
|
| 28 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
| 29 |
+
DISABLE_PARALLEL_CONFIGURE
|
| 30 |
+
OPTIONS ${FEATURE_OPTIONS}
|
| 31 |
+
-DK4A_SOURCE_LINK=OFF
|
| 32 |
+
-DK4A_MTE_VERSION=ON
|
| 33 |
+
-DBUILD_EXAMPLES=OFF
|
| 34 |
+
-DWITH_TEST=OFF
|
| 35 |
+
-DIMGUI_EXTERNAL_PATH="${CURRENT_INSTALLED_DIR}/include/bindings"
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
vcpkg_cmake_install()
|
| 39 |
+
|
| 40 |
+
# Avoid deleting debug/lib/cmake when fixing the first cmake
|
| 41 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/cmake" "${CURRENT_PACKAGES_DIR}/debug/share")
|
| 42 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/cmake" "${CURRENT_PACKAGES_DIR}/share")
|
| 43 |
+
|
| 44 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME k4a CONFIG_PATH share/k4a)
|
| 45 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME k4arecord CONFIG_PATH share/k4arecord)
|
| 46 |
+
|
| 47 |
+
vcpkg_copy_pdbs()
|
| 48 |
+
|
| 49 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
| 50 |
+
|
| 51 |
+
if ("tool" IN_LIST FEATURES)
|
| 52 |
+
vcpkg_copy_tools(TOOL_NAMES k4arecorder k4aviewer AzureKinectFirmwareTool AUTO_CLEAN)
|
| 53 |
+
endif()
|
| 54 |
+
|
| 55 |
+
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
| 56 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
| 57 |
+
endif()
|
| 58 |
+
|
| 59 |
+
# Install Depth Engine
|
| 60 |
+
vcpkg_download_distfile(ARCHIVE
|
| 61 |
+
URLS "https://www.nuget.org/api/v2/package/Microsoft.Azure.Kinect.Sensor/${VERSION}"
|
| 62 |
+
FILENAME "azure-kinect-sensor-sdk_17630a00.zip"
|
| 63 |
+
SHA512 17630a00f4e9ff3ef68945b62021f6d0390030b43c120c207afe934075a7a87c5848be1f46f4c35c7ecd5698012452ffcbb67f739e9048857410ec7077e5e8c6
|
| 64 |
+
)
|
| 65 |
+
|
| 66 |
+
vcpkg_extract_source_archive_ex(
|
| 67 |
+
OUT_SOURCE_PATH PACKAGE_PATH
|
| 68 |
+
ARCHIVE ${ARCHIVE}
|
| 69 |
+
NO_REMOVE_ONE_LEVEL
|
| 70 |
+
)
|
| 71 |
+
|
| 72 |
+
if (VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
|
| 73 |
+
set(ARCHITECTURE "x86")
|
| 74 |
+
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL x64)
|
| 75 |
+
set(ARCHITECTURE "amd64")
|
| 76 |
+
else ()
|
| 77 |
+
message(FATAL_ERROR "this architecture is not supported.")
|
| 78 |
+
endif ()
|
| 79 |
+
|
| 80 |
+
if (VCPKG_TARGET_IS_LINUX)
|
| 81 |
+
file(COPY "${PACKAGE_PATH}/linux/lib/native/${VCPKG_TARGET_ARCHITECTURE}/release/libdepthengine.so.2.0" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
|
| 82 |
+
file(COPY "${PACKAGE_PATH}/linux/lib/native/${VCPKG_TARGET_ARCHITECTURE}/release/libdepthengine.so.2.0" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
|
| 83 |
+
else()
|
| 84 |
+
file(COPY "${PACKAGE_PATH}/lib/native/${ARCHITECTURE}/release/depthengine_2_0.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/azure-kinect-sensor-sdk")
|
| 85 |
+
file(COPY "${PACKAGE_PATH}/lib/native/${ARCHITECTURE}/release/depthengine_2_0.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/azure-kinect-sensor-sdk")
|
| 86 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/k4adeploy.ps1" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/azure-kinect-sensor-sdk")
|
| 87 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/k4adeploy.ps1" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/tools/azure-kinect-sensor-sdk")
|
| 88 |
+
endif()
|
| 89 |
+
|
| 90 |
+
# Handle copyright
|
| 91 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-kinect-sensor-sdk/vcpkg.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "azure-kinect-sensor-sdk",
|
| 3 |
+
"version": "1.4.1",
|
| 4 |
+
"port-version": 4,
|
| 5 |
+
"description": "Azure Kinect SDK is a cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.",
|
| 6 |
+
"homepage": "https://github.com/microsoft/Azure-Kinect-Sensor-SDK",
|
| 7 |
+
"supports": "linux | windows",
|
| 8 |
+
"dependencies": [
|
| 9 |
+
"azure-c-shared-utility",
|
| 10 |
+
"cjson",
|
| 11 |
+
"ebml",
|
| 12 |
+
"glfw3",
|
| 13 |
+
"gtest",
|
| 14 |
+
"imgui",
|
| 15 |
+
"libjpeg-turbo",
|
| 16 |
+
"libsoundio",
|
| 17 |
+
"libusb",
|
| 18 |
+
{
|
| 19 |
+
"name": "libuvc",
|
| 20 |
+
"platform": "linux"
|
| 21 |
+
},
|
| 22 |
+
"libyuv",
|
| 23 |
+
"matroska",
|
| 24 |
+
"spdlog",
|
| 25 |
+
{
|
| 26 |
+
"name": "vcpkg-cmake",
|
| 27 |
+
"host": true
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"name": "vcpkg-cmake-config",
|
| 31 |
+
"host": true
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"features": {
|
| 35 |
+
"docs": {
|
| 36 |
+
"description": "Build K4A doxygen documentation."
|
| 37 |
+
},
|
| 38 |
+
"tool": {
|
| 39 |
+
"description": "Build tools.",
|
| 40 |
+
"dependencies": [
|
| 41 |
+
"gl3w",
|
| 42 |
+
"glew",
|
| 43 |
+
{
|
| 44 |
+
"name": "imgui",
|
| 45 |
+
"features": [
|
| 46 |
+
"glfw-binding",
|
| 47 |
+
"opengl3-binding"
|
| 48 |
+
]
|
| 49 |
+
}
|
| 50 |
+
]
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
}
|