diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/fix-aws-root.patch b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/fix-aws-root.patch new file mode 100644 index 0000000000000000000000000000000000000000..da4365ad72185e8760e6db4c3ae7650c6752656e --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/fix-aws-root.patch @@ -0,0 +1,22 @@ +diff --git a/cmake/AWSSDKConfig.cmake b/cmake/AWSSDKConfig.cmake +--- a/cmake/AWSSDKConfig.cmake (revision 2f90f9fd6c56460bd382243aa215fcddcb5883c8) ++++ b/cmake/AWSSDKConfig.cmake (date 1636913220527) +@@ -54,18 +54,14 @@ + string(REPLACE ";" "${AWS_MODULE_DIR};" SYSTEM_MODULE_PATH "${CMAKE_SYSTEM_PREFIX_PATH}${AWS_MODULE_DIR}") + list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH} ${SYSTEM_MODULE_PATH}) + +-# On Windows, dlls are treated as runtime target and installed in bindir + if (WIN32 AND AWSSDK_INSTALL_AS_SHARED_LIBS) +- set(AWSSDK_INSTALL_LIBDIR "${AWSSDK_INSTALL_BINDIR}") + # If installed CMake scripts are associated with dll library, define USE_IMPORT_EXPORT for customers + add_definitions(-DUSE_IMPORT_EXPORT) + endif() + + + # Compute the default installation root relative to this file. +-# from prefix/lib/cmake/AWSSDK/xx.cmake to prefix + get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) +-get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${AWSSDK_DEFAULT_ROOT_DIR}" PATH) + get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${AWSSDK_DEFAULT_ROOT_DIR}" PATH) + get_filename_component(AWSSDK_DEFAULT_ROOT_DIR "${AWSSDK_DEFAULT_ROOT_DIR}" PATH) + get_filename_component(AWS_NATIVE_SDK_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" ABSOLUTE) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/generateFeatures.ps1 b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/generateFeatures.ps1 new file mode 100644 index 0000000000000000000000000000000000000000..d0f9a5aba7229e185a828e8ebf5a5e5927dc8de6 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/generateFeatures.ps1 @@ -0,0 +1,73 @@ +[CmdletBinding()] +param( + [Parameter(Mandatory=$true)][string]$SourcesRef, + [Parameter(Mandatory=$false)][string]$PortDirectory = $PSScriptRoot, + [Parameter(Mandatory=$false)][string]$vcpkg = "$PSScriptRoot/../../vcpkg" +) + +$ErrorActionPreference = "Stop" + +$ManifestIn = "$PortDirectory/vcpkg.in.json" +$ManifestOut = "$PortDirectory/vcpkg.json" + +$ExtractedSources = "${env:TEMP}/aws-sdk-cpp-generateFeatures-$SourcesRef" +if (-not (Test-Path $ExtractedSources)) { + if (Test-Path "$ExtractedSources.tmp") { + Remove-Item -Force "$ExtractedSources.tmp" + } + git clone "https://github.com/aws/aws-sdk-cpp" "$ExtractedSources.tmp" | Out-Host + git -c "$ExtractedSources.tmp" checkout $SourcesRef + Move-Item "$ExtractedSources.tmp" "$ExtractedSources" +} +Write-Host "Using sources directory: $ExtractedSources" + + +$subfolders = Get-ChildItem -Path "$ExtractedSources\generated\src\aws-cpp-sdk-*", "$ExtractedSources\src\aws-cpp-sdk*" | Sort-Object -Property Name + +$manifest = Get-Content $ManifestIn | ConvertFrom-Json +$manifest | Add-Member ` + -NotePropertyName '$note' ` + -NotePropertyValue 'Automatically generated by generateFeatures.ps1' +$manifest | Add-Member -NotePropertyName 'features' -NotePropertyValue @{} + +function GetDescription($dir, $modulename) +{ + if (Test-Path "$dir\CMakeLists.txt") + { + $descs = @(Select-String -Path "$dir\CMakeLists.txt" -Pattern "`"C\+\+ SDK for the AWS [^`"]*`"") + if ($descs.count -eq 1) { + $desc = $descs[0].Matches.Value -replace "`"","" + "$desc" + } + else { "C++ SDK for the AWS $modulename service" } + } + else { "C++ SDK for the AWS $modulename service" } +} + +$featureDependencies = @{} +Select-String -Path "$ExtractedSources\cmake\sdksCommon.cmake" -Pattern "list\(APPEND SDK_DEPENDENCY_LIST `"([\w-]+):([\w-,]+)`"\)" -AllMatches ` +| ForEach-Object { $_.Matches } ` +| ForEach-Object { $featureDependencies[$_.Groups[1].Value] = @($_.Groups[2].Value -split "," ` +| Where-Object { $_ -ne "core" }) } + +foreach ($subfolder in $subfolders) +{ + $modulename = $subfolder.name -replace "^aws-cpp-sdk-","" + if ($modulename -match "-tests`$") { continue } + if ($modulename -match "-sample`$") { continue } + if ($modulename -eq "core") { continue } + + $lowermodulename = $modulename.ToLower() + + $featureObj = @{ description = (GetDescription $subfolder $modulename) } + + if ($featureDependencies.ContainsKey($lowermodulename)) { + $featureObj.dependencies = ,@{ name = "aws-sdk-cpp"; "default-features" = $false; "features" = $featureDependencies[$lowermodulename] } + } + + $manifest.features.Add("$lowermodulename", $featureObj) +} + +[IO.File]::WriteAllText($ManifestOut, (ConvertTo-Json -Depth 10 -InputObject $manifest)) + +& $vcpkg format-manifest --feature-flags=-manifests $ManifestOut diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/patch-relocatable-rpath.patch b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/patch-relocatable-rpath.patch new file mode 100644 index 0000000000000000000000000000000000000000..1dc1cfd7603d4e00fea22e62c7f87599842d2b39 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/patch-relocatable-rpath.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 41d220d5fa..f6ee9a2a74 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -147,7 +147,6 @@ if (LEGACY_BUILD) + endif () + + # 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. +- set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) + + # build the sdk targets + project("aws-cpp-sdk-all" VERSION "${PROJECT_VERSION}" LANGUAGES CXX) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..93a78e109f3606e801af697dcd58540be026f1bd --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/portfile.cmake @@ -0,0 +1,101 @@ +vcpkg_buildpath_length_warning(37) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO aws/aws-sdk-cpp + REF "${VERSION}" + SHA512 826be806ddd87eb452f97df70b19df4194e984775408d8f99246244b6949abcab583e4cbe1ae3bc5d61f3c78267d0e75ea9e69956188ab12e0318344a4314591 + PATCHES + patch-relocatable-rpath.patch + fix-aws-root.patch + lock-curl-http-and-tls-settings.patch +) + +string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" FORCE_SHARED_CRT) + +set(EXTRA_ARGS "") +if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS) + set(rpath "@loader_path") +elseif (VCPKG_TARGET_IS_ANDROID) + set(EXTRA_ARGS "-DTARGET_ARCH=ANDROID" + "-DGIT_EXECUTABLE=--invalid-git-executable--" + "-DGIT_FOUND=TRUE" + "-DNDK_DIR=$ENV{ANDROID_NDK_HOME}" + "-DANDROID_BUILD_ZLIB=FALSE" + "-DANDROID_BUILD_CURL=FALSE" + "-DANDROID_BUILD_OPENSSL=FALSE" + ) +else() + set(rpath "\$ORIGIN") +endif() + +string(REPLACE "awsmigrationhub" "AWSMigrationHub" targets "${FEATURES}") +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + DISABLE_PARALLEL_CONFIGURE + OPTIONS + ${EXTRA_ARGS} + "-DENABLE_UNITY_BUILD=ON" + "-DENABLE_TESTING=OFF" + "-DFORCE_SHARED_CRT=${FORCE_SHARED_CRT}" + "-DBUILD_ONLY=${targets}" + "-DBUILD_DEPS=OFF" + "-DBUILD_SHARED_LIBS=OFF" + "-DAWS_SDK_WARNINGS_ARE_ERRORS=OFF" + "-DCMAKE_INSTALL_RPATH=${rpath}" + "-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files +) +vcpkg_cmake_install() + +foreach(TARGET IN LISTS targets) + string(TOLOWER "aws-cpp-sdk-${TARGET}" package) + vcpkg_cmake_config_fixup(PACKAGE_NAME "${package}" CONFIG_PATH "lib/cmake/aws-cpp-sdk-${TARGET}" DO_NOT_DELETE_PARENT_CONFIG_PATH) +endforeach() +vcpkg_cmake_config_fixup(PACKAGE_NAME "awssdk" CONFIG_PATH "lib/cmake/AWSSDK") + +vcpkg_copy_pdbs() + +file(GLOB_RECURSE AWS_TARGETS "${CURRENT_PACKAGES_DIR}/share/*/*-targets-*.cmake") +foreach(AWS_TARGET IN LISTS AWS_TARGETS) + file(READ ${AWS_TARGET} _contents) + string(REGEX REPLACE + "bin\\/([A-Za-z0-9_.-]+\\.lib)" + "lib/\\1" + _contents "${_contents}") + file(WRITE ${AWS_TARGET} "${_contents}") +endforeach() + +file(GLOB AWS_CONFIGS "${CURRENT_PACKAGES_DIR}/share/*/aws-cpp-sdk-*-config.cmake") +list(FILTER AWS_CONFIGS EXCLUDE REGEX "aws-cpp-sdk-core-config\\.cmake\$") +foreach(AWS_CONFIG IN LISTS AWS_CONFIGS) + file(READ "${AWS_CONFIG}" _contents) + file(WRITE "${AWS_CONFIG}" "include(CMakeFindDependencyMacro)\nfind_dependency(aws-cpp-sdk-core)\n${_contents}") +endforeach() + +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug/include" + "${CURRENT_PACKAGES_DIR}/debug/share" + "${CURRENT_PACKAGES_DIR}/lib/pkgconfig" + "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig" + "${CURRENT_PACKAGES_DIR}/nuget" + "${CURRENT_PACKAGES_DIR}/debug/nuget" +) + +if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") + file(GLOB LIB_FILES ${CURRENT_PACKAGES_DIR}/bin/*.lib) + if(LIB_FILES) + file(COPY ${LIB_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/lib) + file(REMOVE ${LIB_FILES}) + endif() + file(GLOB DEBUG_LIB_FILES ${CURRENT_PACKAGES_DIR}/debug/bin/*.lib) + if(DEBUG_LIB_FILES) + file(COPY ${DEBUG_LIB_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib) + file(REMOVE ${DEBUG_LIB_FILES}) + endif() + + file(APPEND "${CURRENT_PACKAGES_DIR}/include/aws/core/SDKConfig.h" "#ifndef USE_IMPORT_EXPORT\n#define USE_IMPORT_EXPORT\n#endif") +endif() + +configure_file("${CURRENT_PORT_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/usage b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/usage new file mode 100644 index 0000000000000000000000000000000000000000..37e1f617b2cb383a4738a7afb47b9521fbfb5266 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/usage @@ -0,0 +1,12 @@ +The package @PORT@:@TARGET_TRIPLET@ provides CMake targets: + + When using AWSSDK, AWSSDK_ROOT_DIR must be defined by the user. + find_package(AWSSDK CONFIG COMPONENTS core dynamodb kinesis s3 REQUIRED) + target_include_directories(main PRIVATE ${AWSSDK_INCLUDE_DIRS}) + target_link_libraries(main PRIVATE ${AWSSDK_LIBRARIES}) + + OR + + find_package(aws-cpp-sdk-core REQUIRED) + target_include_directories(main PRIVATE aws-cpp-sdk-core) + target_link_libraries(main PRIVATE aws-cpp-sdk-core) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..f080de705895daac27047cfa31203373221c275d --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/aws-sdk-cpp/vcpkg.json @@ -0,0 +1,1243 @@ +{ + "$note": "Automatically generated by generateFeatures.ps1", + "name": "aws-sdk-cpp", + "version": "1.11.285", + "description": "AWS SDK for C++", + "homepage": "https://github.com/aws/aws-sdk-cpp", + "license": "Apache-2.0", + "supports": "!(windows & arm) & !uwp", + "dependencies": [ + "aws-crt-cpp", + { + "name": "curl", + "default-features": false, + "features": [ + "ssl" + ], + "platform": "!uwp & !windows" + }, + { + "name": "openssl", + "platform": "!uwp & !windows" + }, + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + }, + "zlib" + ], + "default-features": [ + "dynamodb", + "kinesis", + "s3" + ], + "features": { + "access-management": { + "description": "C++ SDK for the AWS access-management service", + "dependencies": [ + { + "name": "aws-sdk-cpp", + "default-features": false, + "features": [ + "cognito-identity", + "iam" + ] + } + ] + }, + "accessanalyzer": { + "description": "C++ SDK for the AWS accessanalyzer service" + }, + "account": { + "description": "C++ SDK for the AWS account service" + }, + "acm": { + "description": "C++ SDK for the AWS acm service" + }, + "acm-pca": { + "description": "C++ SDK for the AWS acm-pca service" + }, + "alexaforbusiness": { + "description": "C++ SDK for the AWS alexaforbusiness service" + }, + "amp": { + "description": "C++ SDK for the AWS amp service" + }, + "amplify": { + "description": "C++ SDK for the AWS amplify service" + }, + "amplifybackend": { + "description": "C++ SDK for the AWS amplifybackend service" + }, + "amplifyuibuilder": { + "description": "C++ SDK for the AWS amplifyuibuilder service" + }, + "apigateway": { + "description": "C++ SDK for the AWS apigateway service" + }, + "apigatewaymanagementapi": { + "description": "C++ SDK for the AWS apigatewaymanagementapi service" + }, + "apigatewayv2": { + "description": "C++ SDK for the AWS apigatewayv2 service" + }, + "appconfig": { + "description": "C++ SDK for the AWS appconfig service" + }, + "appconfigdata": { + "description": "C++ SDK for the AWS appconfigdata service" + }, + "appfabric": { + "description": "C++ SDK for the AWS appfabric service" + }, + "appflow": { + "description": "C++ SDK for the AWS appflow service" + }, + "appintegrations": { + "description": "C++ SDK for the AWS appintegrations service" + }, + "application-autoscaling": { + "description": "C++ SDK for the AWS application-autoscaling service" + }, + "application-insights": { + "description": "C++ SDK for the AWS application-insights service" + }, + "applicationcostprofiler": { + "description": "C++ SDK for the AWS applicationcostprofiler service" + }, + "appmesh": { + "description": "C++ SDK for the AWS appmesh service" + }, + "apprunner": { + "description": "C++ SDK for the AWS apprunner service" + }, + "appstream": { + "description": "C++ SDK for the AWS appstream service" + }, + "appsync": { + "description": "C++ SDK for the AWS appsync service" + }, + "arc-zonal-shift": { + "description": "C++ SDK for the AWS arc-zonal-shift service" + }, + "athena": { + "description": "C++ SDK for the AWS athena service" + }, + "auditmanager": { + "description": "C++ SDK for the AWS auditmanager service" + }, + "autoscaling": { + "description": "C++ SDK for the AWS autoscaling service" + }, + "autoscaling-plans": { + "description": "C++ SDK for the AWS autoscaling-plans service" + }, + "awsmigrationhub": { + "description": "C++ SDK for the AWS AWSMigrationHub service" + }, + "awstransfer": { + "description": "C++ SDK for the AWS awstransfer service" + }, + "b2bi": { + "description": "C++ SDK for the AWS b2bi service" + }, + "backup": { + "description": "C++ SDK for the AWS backup service" + }, + "backup-gateway": { + "description": "C++ SDK for the AWS backup-gateway service" + }, + "backupstorage": { + "description": "C++ SDK for the AWS backupstorage service" + }, + "batch": { + "description": "C++ SDK for the AWS batch service" + }, + "bcm-data-exports": { + "description": "C++ SDK for the AWS bcm-data-exports service" + }, + "bedrock": { + "description": "C++ SDK for the AWS bedrock service" + }, + "bedrock-agent": { + "description": "C++ SDK for the AWS bedrock-agent service" + }, + "bedrock-agent-runtime": { + "description": "C++ SDK for the AWS bedrock-agent-runtime service" + }, + "bedrock-runtime": { + "description": "C++ SDK for the AWS bedrock-runtime service" + }, + "billingconductor": { + "description": "C++ SDK for the AWS billingconductor service" + }, + "braket": { + "description": "C++ SDK for the AWS braket service" + }, + "budgets": { + "description": "C++ SDK for the AWS budgets service" + }, + "ce": { + "description": "C++ SDK for the AWS ce service" + }, + "chime": { + "description": "C++ SDK for the AWS chime service" + }, + "chime-sdk-identity": { + "description": "C++ SDK for the AWS chime-sdk-identity service" + }, + "chime-sdk-media-pipelines": { + "description": "C++ SDK for the AWS chime-sdk-media-pipelines service" + }, + "chime-sdk-meetings": { + "description": "C++ SDK for the AWS chime-sdk-meetings service" + }, + "chime-sdk-messaging": { + "description": "C++ SDK for the AWS chime-sdk-messaging service" + }, + "chime-sdk-voice": { + "description": "C++ SDK for the AWS chime-sdk-voice service" + }, + "cleanrooms": { + "description": "C++ SDK for the AWS cleanrooms service" + }, + "cleanroomsml": { + "description": "C++ SDK for the AWS cleanroomsml service" + }, + "cloud9": { + "description": "C++ SDK for the AWS cloud9 service" + }, + "cloudcontrol": { + "description": "C++ SDK for the AWS cloudcontrol service" + }, + "clouddirectory": { + "description": "C++ SDK for the AWS clouddirectory service" + }, + "cloudformation": { + "description": "C++ SDK for the AWS cloudformation service" + }, + "cloudfront": { + "description": "C++ SDK for the AWS cloudfront service" + }, + "cloudfront-keyvaluestore": { + "description": "C++ SDK for the AWS cloudfront-keyvaluestore service" + }, + "cloudhsm": { + "description": "C++ SDK for the AWS cloudhsm service" + }, + "cloudhsmv2": { + "description": "C++ SDK for the AWS cloudhsmv2 service" + }, + "cloudsearch": { + "description": "C++ SDK for the AWS cloudsearch service" + }, + "cloudsearchdomain": { + "description": "C++ SDK for the AWS cloudsearchdomain service" + }, + "cloudtrail": { + "description": "C++ SDK for the AWS cloudtrail service" + }, + "cloudtrail-data": { + "description": "C++ SDK for the AWS cloudtrail-data service" + }, + "codeartifact": { + "description": "C++ SDK for the AWS codeartifact service" + }, + "codebuild": { + "description": "C++ SDK for the AWS codebuild service" + }, + "codecatalyst": { + "description": "C++ SDK for the AWS codecatalyst service" + }, + "codecommit": { + "description": "C++ SDK for the AWS codecommit service" + }, + "codedeploy": { + "description": "C++ SDK for the AWS codedeploy service" + }, + "codeguru-reviewer": { + "description": "C++ SDK for the AWS codeguru-reviewer service" + }, + "codeguru-security": { + "description": "C++ SDK for the AWS codeguru-security service" + }, + "codeguruprofiler": { + "description": "C++ SDK for the AWS codeguruprofiler service" + }, + "codepipeline": { + "description": "C++ SDK for the AWS codepipeline service" + }, + "codestar": { + "description": "C++ SDK for the AWS codestar service" + }, + "codestar-connections": { + "description": "C++ SDK for the AWS codestar-connections service" + }, + "codestar-notifications": { + "description": "C++ SDK for the AWS codestar-notifications service" + }, + "cognito-identity": { + "description": "C++ SDK for the AWS cognito-identity service" + }, + "cognito-idp": { + "description": "C++ SDK for the AWS cognito-idp service" + }, + "cognito-sync": { + "description": "C++ SDK for the AWS cognito-sync service" + }, + "comprehend": { + "description": "C++ SDK for the AWS comprehend service" + }, + "comprehendmedical": { + "description": "C++ SDK for the AWS comprehendmedical service" + }, + "compute-optimizer": { + "description": "C++ SDK for the AWS compute-optimizer service" + }, + "config": { + "description": "C++ SDK for the AWS config service" + }, + "connect": { + "description": "C++ SDK for the AWS connect service" + }, + "connect-contact-lens": { + "description": "C++ SDK for the AWS connect-contact-lens service" + }, + "connectcampaigns": { + "description": "C++ SDK for the AWS connectcampaigns service" + }, + "connectcases": { + "description": "C++ SDK for the AWS connectcases service" + }, + "connectparticipant": { + "description": "C++ SDK for the AWS connectparticipant service" + }, + "controltower": { + "description": "C++ SDK for the AWS controltower service" + }, + "cost-optimization-hub": { + "description": "C++ SDK for the AWS cost-optimization-hub service" + }, + "cur": { + "description": "C++ SDK for the AWS cur service" + }, + "customer-profiles": { + "description": "C++ SDK for the AWS customer-profiles service" + }, + "databrew": { + "description": "C++ SDK for the AWS databrew service" + }, + "dataexchange": { + "description": "C++ SDK for the AWS dataexchange service" + }, + "datapipeline": { + "description": "C++ SDK for the AWS datapipeline service" + }, + "datasync": { + "description": "C++ SDK for the AWS datasync service" + }, + "datazone": { + "description": "C++ SDK for the AWS datazone service" + }, + "dax": { + "description": "C++ SDK for the AWS dax service" + }, + "detective": { + "description": "C++ SDK for the AWS detective service" + }, + "devicefarm": { + "description": "C++ SDK for the AWS devicefarm service" + }, + "devops-guru": { + "description": "C++ SDK for the AWS devops-guru service" + }, + "directconnect": { + "description": "C++ SDK for the AWS directconnect service" + }, + "discovery": { + "description": "C++ SDK for the AWS discovery service" + }, + "dlm": { + "description": "C++ SDK for the AWS dlm service" + }, + "dms": { + "description": "C++ SDK for the AWS dms service" + }, + "docdb": { + "description": "C++ SDK for the AWS docdb service" + }, + "docdb-elastic": { + "description": "C++ SDK for the AWS docdb-elastic service" + }, + "drs": { + "description": "C++ SDK for the AWS drs service" + }, + "ds": { + "description": "C++ SDK for the AWS ds service" + }, + "dynamodb": { + "description": "C++ SDK for the AWS dynamodb service" + }, + "dynamodbstreams": { + "description": "C++ SDK for the AWS dynamodbstreams service" + }, + "ebs": { + "description": "C++ SDK for the AWS ebs service" + }, + "ec2": { + "description": "C++ SDK for the AWS ec2 service" + }, + "ec2-instance-connect": { + "description": "C++ SDK for the AWS ec2-instance-connect service" + }, + "ecr": { + "description": "C++ SDK for the AWS ecr service" + }, + "ecr-public": { + "description": "C++ SDK for the AWS ecr-public service" + }, + "ecs": { + "description": "C++ SDK for the AWS ecs service" + }, + "eks": { + "description": "C++ SDK for the AWS eks service" + }, + "eks-auth": { + "description": "C++ SDK for the AWS eks-auth service" + }, + "elastic-inference": { + "description": "C++ SDK for the AWS elastic-inference service" + }, + "elasticache": { + "description": "C++ SDK for the AWS elasticache service" + }, + "elasticbeanstalk": { + "description": "C++ SDK for the AWS elasticbeanstalk service" + }, + "elasticfilesystem": { + "description": "C++ SDK for the AWS elasticfilesystem service" + }, + "elasticloadbalancing": { + "description": "C++ SDK for the AWS elasticloadbalancing service" + }, + "elasticloadbalancingv2": { + "description": "C++ SDK for the AWS elasticloadbalancingv2 service" + }, + "elasticmapreduce": { + "description": "C++ SDK for the AWS elasticmapreduce service" + }, + "elastictranscoder": { + "description": "C++ SDK for the AWS elastictranscoder service" + }, + "email": { + "description": "C++ SDK for the AWS email service" + }, + "emr-containers": { + "description": "C++ SDK for the AWS emr-containers service" + }, + "emr-serverless": { + "description": "C++ SDK for the AWS emr-serverless service" + }, + "entityresolution": { + "description": "C++ SDK for the AWS entityresolution service" + }, + "es": { + "description": "C++ SDK for the AWS es service" + }, + "eventbridge": { + "description": "C++ SDK for the AWS eventbridge service" + }, + "events": { + "description": "C++ SDK for the AWS events service" + }, + "evidently": { + "description": "C++ SDK for the AWS evidently service" + }, + "finspace": { + "description": "C++ SDK for the AWS finspace service" + }, + "finspace-data": { + "description": "C++ SDK for the AWS finspace-data service" + }, + "firehose": { + "description": "C++ SDK for the AWS firehose service" + }, + "fis": { + "description": "C++ SDK for the AWS fis service" + }, + "fms": { + "description": "C++ SDK for the AWS fms service" + }, + "forecast": { + "description": "C++ SDK for the AWS forecast service" + }, + "forecastquery": { + "description": "C++ SDK for the AWS forecastquery service" + }, + "frauddetector": { + "description": "C++ SDK for the AWS frauddetector service" + }, + "freetier": { + "description": "C++ SDK for the AWS freetier service" + }, + "fsx": { + "description": "C++ SDK for the AWS fsx service" + }, + "gamelift": { + "description": "C++ SDK for the AWS gamelift service" + }, + "glacier": { + "description": "C++ SDK for the AWS glacier service" + }, + "globalaccelerator": { + "description": "C++ SDK for the AWS globalaccelerator service" + }, + "glue": { + "description": "C++ SDK for the AWS glue service" + }, + "grafana": { + "description": "C++ SDK for the AWS grafana service" + }, + "greengrass": { + "description": "C++ SDK for the AWS greengrass service" + }, + "greengrassv2": { + "description": "C++ SDK for the AWS greengrassv2 service" + }, + "groundstation": { + "description": "C++ SDK for the AWS groundstation service" + }, + "guardduty": { + "description": "C++ SDK for the AWS guardduty service" + }, + "health": { + "description": "C++ SDK for the AWS health service" + }, + "healthlake": { + "description": "C++ SDK for the AWS healthlake service" + }, + "honeycode": { + "description": "C++ SDK for the AWS honeycode service" + }, + "iam": { + "description": "C++ SDK for the AWS iam service" + }, + "identity-management": { + "description": "C++ SDK for the AWS identity-management service", + "dependencies": [ + { + "name": "aws-sdk-cpp", + "default-features": false, + "features": [ + "cognito-identity", + "sts" + ] + } + ] + }, + "identitystore": { + "description": "C++ SDK for the AWS identitystore service" + }, + "imagebuilder": { + "description": "C++ SDK for the AWS imagebuilder service" + }, + "importexport": { + "description": "C++ SDK for the AWS importexport service" + }, + "inspector": { + "description": "C++ SDK for the AWS inspector service" + }, + "inspector-scan": { + "description": "C++ SDK for the AWS inspector-scan service" + }, + "inspector2": { + "description": "C++ SDK for the AWS inspector2 service" + }, + "internetmonitor": { + "description": "C++ SDK for the AWS internetmonitor service" + }, + "iot": { + "description": "C++ SDK for the AWS iot service" + }, + "iot-data": { + "description": "C++ SDK for the AWS iot-data service" + }, + "iot-jobs-data": { + "description": "C++ SDK for the AWS iot-jobs-data service" + }, + "iot-roborunner": { + "description": "C++ SDK for the AWS iot-roborunner service" + }, + "iot1click-devices": { + "description": "C++ SDK for the AWS iot1click-devices service" + }, + "iot1click-projects": { + "description": "C++ SDK for the AWS iot1click-projects service" + }, + "iotanalytics": { + "description": "C++ SDK for the AWS iotanalytics service" + }, + "iotdeviceadvisor": { + "description": "C++ SDK for the AWS iotdeviceadvisor service" + }, + "iotevents": { + "description": "C++ SDK for the AWS iotevents service" + }, + "iotevents-data": { + "description": "C++ SDK for the AWS iotevents-data service" + }, + "iotfleethub": { + "description": "C++ SDK for the AWS iotfleethub service" + }, + "iotfleetwise": { + "description": "C++ SDK for the AWS iotfleetwise service" + }, + "iotsecuretunneling": { + "description": "C++ SDK for the AWS iotsecuretunneling service" + }, + "iotsitewise": { + "description": "C++ SDK for the AWS iotsitewise service" + }, + "iotthingsgraph": { + "description": "C++ SDK for the AWS iotthingsgraph service" + }, + "iottwinmaker": { + "description": "C++ SDK for the AWS iottwinmaker service" + }, + "iotwireless": { + "description": "C++ SDK for the AWS iotwireless service" + }, + "ivs": { + "description": "C++ SDK for the AWS ivs service" + }, + "ivs-realtime": { + "description": "C++ SDK for the AWS ivs-realtime service" + }, + "ivschat": { + "description": "C++ SDK for the AWS ivschat service" + }, + "kafka": { + "description": "C++ SDK for the AWS kafka service" + }, + "kafkaconnect": { + "description": "C++ SDK for the AWS kafkaconnect service" + }, + "kendra": { + "description": "C++ SDK for the AWS kendra service" + }, + "kendra-ranking": { + "description": "C++ SDK for the AWS kendra-ranking service" + }, + "keyspaces": { + "description": "C++ SDK for the AWS keyspaces service" + }, + "kinesis": { + "description": "C++ SDK for the AWS kinesis service" + }, + "kinesis-video-archived-media": { + "description": "C++ SDK for the AWS kinesis-video-archived-media service" + }, + "kinesis-video-media": { + "description": "C++ SDK for the AWS kinesis-video-media service" + }, + "kinesis-video-signaling": { + "description": "C++ SDK for the AWS kinesis-video-signaling service" + }, + "kinesis-video-webrtc-storage": { + "description": "C++ SDK for the AWS kinesis-video-webrtc-storage service" + }, + "kinesisanalytics": { + "description": "C++ SDK for the AWS kinesisanalytics service" + }, + "kinesisanalyticsv2": { + "description": "C++ SDK for the AWS kinesisanalyticsv2 service" + }, + "kinesisvideo": { + "description": "C++ SDK for the AWS kinesisvideo service" + }, + "kms": { + "description": "C++ SDK for the AWS kms service" + }, + "lakeformation": { + "description": "C++ SDK for the AWS lakeformation service" + }, + "lambda": { + "description": "C++ SDK for the AWS lambda service" + }, + "launch-wizard": { + "description": "C++ SDK for the AWS launch-wizard service" + }, + "lex": { + "description": "C++ SDK for the AWS lex service" + }, + "lex-models": { + "description": "C++ SDK for the AWS lex-models service" + }, + "lexv2-models": { + "description": "C++ SDK for the AWS lexv2-models service" + }, + "lexv2-runtime": { + "description": "C++ SDK for the AWS lexv2-runtime service" + }, + "license-manager": { + "description": "C++ SDK for the AWS license-manager service" + }, + "license-manager-linux-subscriptions": { + "description": "C++ SDK for the AWS license-manager-linux-subscriptions service" + }, + "license-manager-user-subscriptions": { + "description": "C++ SDK for the AWS license-manager-user-subscriptions service" + }, + "lightsail": { + "description": "C++ SDK for the AWS lightsail service" + }, + "location": { + "description": "C++ SDK for the AWS location service" + }, + "logs": { + "description": "C++ SDK for the AWS logs service" + }, + "lookoutequipment": { + "description": "C++ SDK for the AWS lookoutequipment service" + }, + "lookoutmetrics": { + "description": "C++ SDK for the AWS lookoutmetrics service" + }, + "lookoutvision": { + "description": "C++ SDK for the AWS lookoutvision service" + }, + "m2": { + "description": "C++ SDK for the AWS m2 service" + }, + "machinelearning": { + "description": "C++ SDK for the AWS machinelearning service" + }, + "macie2": { + "description": "C++ SDK for the AWS macie2 service" + }, + "managedblockchain": { + "description": "C++ SDK for the AWS managedblockchain service" + }, + "managedblockchain-query": { + "description": "C++ SDK for the AWS managedblockchain-query service" + }, + "marketplace-agreement": { + "description": "C++ SDK for the AWS marketplace-agreement service" + }, + "marketplace-catalog": { + "description": "C++ SDK for the AWS marketplace-catalog service" + }, + "marketplace-deployment": { + "description": "C++ SDK for the AWS marketplace-deployment service" + }, + "marketplace-entitlement": { + "description": "C++ SDK for the AWS marketplace-entitlement service" + }, + "marketplacecommerceanalytics": { + "description": "C++ SDK for the AWS marketplacecommerceanalytics service" + }, + "mediaconnect": { + "description": "C++ SDK for the AWS mediaconnect service" + }, + "mediaconvert": { + "description": "C++ SDK for the AWS mediaconvert service" + }, + "medialive": { + "description": "C++ SDK for the AWS medialive service" + }, + "mediapackage": { + "description": "C++ SDK for the AWS mediapackage service" + }, + "mediapackage-vod": { + "description": "C++ SDK for the AWS mediapackage-vod service" + }, + "mediapackagev2": { + "description": "C++ SDK for the AWS mediapackagev2 service" + }, + "mediastore": { + "description": "C++ SDK for the AWS mediastore service" + }, + "mediastore-data": { + "description": "C++ SDK for the AWS mediastore-data service" + }, + "mediatailor": { + "description": "C++ SDK for the AWS mediatailor service" + }, + "medical-imaging": { + "description": "C++ SDK for the AWS medical-imaging service" + }, + "memorydb": { + "description": "C++ SDK for the AWS memorydb service" + }, + "meteringmarketplace": { + "description": "C++ SDK for the AWS meteringmarketplace service" + }, + "mgn": { + "description": "C++ SDK for the AWS mgn service" + }, + "migration-hub-refactor-spaces": { + "description": "C++ SDK for the AWS migration-hub-refactor-spaces service" + }, + "migrationhub-config": { + "description": "C++ SDK for the AWS migrationhub-config service" + }, + "migrationhuborchestrator": { + "description": "C++ SDK for the AWS migrationhuborchestrator service" + }, + "migrationhubstrategy": { + "description": "C++ SDK for the AWS migrationhubstrategy service" + }, + "mobile": { + "description": "C++ SDK for the AWS mobile service" + }, + "monitoring": { + "description": "C++ SDK for the AWS monitoring service" + }, + "mq": { + "description": "C++ SDK for the AWS mq service" + }, + "mturk-requester": { + "description": "C++ SDK for the AWS mturk-requester service" + }, + "mwaa": { + "description": "C++ SDK for the AWS mwaa service" + }, + "neptune": { + "description": "C++ SDK for the AWS neptune service" + }, + "neptunedata": { + "description": "C++ SDK for the AWS neptunedata service" + }, + "network-firewall": { + "description": "C++ SDK for the AWS network-firewall service" + }, + "networkmanager": { + "description": "C++ SDK for the AWS networkmanager service" + }, + "nimble": { + "description": "C++ SDK for the AWS nimble service" + }, + "oam": { + "description": "C++ SDK for the AWS oam service" + }, + "omics": { + "description": "C++ SDK for the AWS omics service" + }, + "opensearch": { + "description": "C++ SDK for the AWS opensearch service" + }, + "opensearchserverless": { + "description": "C++ SDK for the AWS opensearchserverless service" + }, + "opsworks": { + "description": "C++ SDK for the AWS opsworks service" + }, + "opsworkscm": { + "description": "C++ SDK for the AWS opsworkscm service" + }, + "organizations": { + "description": "C++ SDK for the AWS organizations service" + }, + "osis": { + "description": "C++ SDK for the AWS osis service" + }, + "outposts": { + "description": "C++ SDK for the AWS outposts service" + }, + "panorama": { + "description": "C++ SDK for the AWS panorama service" + }, + "payment-cryptography": { + "description": "C++ SDK for the AWS payment-cryptography service" + }, + "payment-cryptography-data": { + "description": "C++ SDK for the AWS payment-cryptography-data service" + }, + "pca-connector-ad": { + "description": "C++ SDK for the AWS pca-connector-ad service" + }, + "personalize": { + "description": "C++ SDK for the AWS personalize service" + }, + "personalize-events": { + "description": "C++ SDK for the AWS personalize-events service" + }, + "personalize-runtime": { + "description": "C++ SDK for the AWS personalize-runtime service" + }, + "pi": { + "description": "C++ SDK for the AWS pi service" + }, + "pinpoint": { + "description": "C++ SDK for the AWS pinpoint service" + }, + "pinpoint-email": { + "description": "C++ SDK for the AWS pinpoint-email service" + }, + "pinpoint-sms-voice-v2": { + "description": "C++ SDK for the AWS pinpoint-sms-voice-v2 service" + }, + "pipes": { + "description": "C++ SDK for the AWS pipes service" + }, + "polly": { + "description": "C++ SDK for the AWS polly service" + }, + "pricing": { + "description": "C++ SDK for the AWS pricing service" + }, + "privatenetworks": { + "description": "C++ SDK for the AWS privatenetworks service" + }, + "proton": { + "description": "C++ SDK for the AWS proton service" + }, + "qbusiness": { + "description": "C++ SDK for the AWS qbusiness service" + }, + "qconnect": { + "description": "C++ SDK for the AWS qconnect service" + }, + "qldb": { + "description": "C++ SDK for the AWS qldb service" + }, + "qldb-session": { + "description": "C++ SDK for the AWS qldb-session service" + }, + "queues": { + "description": "C++ SDK for the AWS queues service", + "dependencies": [ + { + "name": "aws-sdk-cpp", + "default-features": false, + "features": [ + "sqs" + ] + } + ] + }, + "quicksight": { + "description": "C++ SDK for the AWS quicksight service" + }, + "ram": { + "description": "C++ SDK for the AWS ram service" + }, + "rbin": { + "description": "C++ SDK for the AWS rbin service" + }, + "rds": { + "description": "C++ SDK for the AWS rds service" + }, + "rds-data": { + "description": "C++ SDK for the AWS rds-data service" + }, + "redshift": { + "description": "C++ SDK for the AWS redshift service" + }, + "redshift-data": { + "description": "C++ SDK for the AWS redshift-data service" + }, + "redshift-serverless": { + "description": "C++ SDK for the AWS redshift-serverless service" + }, + "rekognition": { + "description": "C++ SDK for the AWS rekognition service" + }, + "repostspace": { + "description": "C++ SDK for the AWS repostspace service" + }, + "resiliencehub": { + "description": "C++ SDK for the AWS resiliencehub service" + }, + "resource-explorer-2": { + "description": "C++ SDK for the AWS resource-explorer-2 service" + }, + "resource-groups": { + "description": "C++ SDK for the AWS resource-groups service" + }, + "resourcegroupstaggingapi": { + "description": "C++ SDK for the AWS resourcegroupstaggingapi service" + }, + "robomaker": { + "description": "C++ SDK for the AWS robomaker service" + }, + "rolesanywhere": { + "description": "C++ SDK for the AWS rolesanywhere service" + }, + "route53": { + "description": "C++ SDK for the AWS route53 service" + }, + "route53-recovery-cluster": { + "description": "C++ SDK for the AWS route53-recovery-cluster service" + }, + "route53-recovery-control-config": { + "description": "C++ SDK for the AWS route53-recovery-control-config service" + }, + "route53-recovery-readiness": { + "description": "C++ SDK for the AWS route53-recovery-readiness service" + }, + "route53domains": { + "description": "C++ SDK for the AWS route53domains service" + }, + "route53resolver": { + "description": "C++ SDK for the AWS route53resolver service" + }, + "rum": { + "description": "C++ SDK for the AWS rum service" + }, + "s3": { + "description": "C++ SDK for the AWS s3 service" + }, + "s3-crt": { + "description": "C++ SDK for the AWS s3-crt service" + }, + "s3-encryption": { + "description": "C++ SDK for the AWS s3-encryption service", + "dependencies": [ + { + "name": "aws-sdk-cpp", + "default-features": false, + "features": [ + "kms", + "s3" + ] + } + ] + }, + "s3control": { + "description": "C++ SDK for the AWS s3control service" + }, + "s3outposts": { + "description": "C++ SDK for the AWS s3outposts service" + }, + "sagemaker": { + "description": "C++ SDK for the AWS sagemaker service" + }, + "sagemaker-a2i-runtime": { + "description": "C++ SDK for the AWS sagemaker-a2i-runtime service" + }, + "sagemaker-edge": { + "description": "C++ SDK for the AWS sagemaker-edge service" + }, + "sagemaker-featurestore-runtime": { + "description": "C++ SDK for the AWS sagemaker-featurestore-runtime service" + }, + "sagemaker-geospatial": { + "description": "C++ SDK for the AWS sagemaker-geospatial service" + }, + "sagemaker-metrics": { + "description": "C++ SDK for the AWS sagemaker-metrics service" + }, + "sagemaker-runtime": { + "description": "C++ SDK for the AWS sagemaker-runtime service" + }, + "savingsplans": { + "description": "C++ SDK for the AWS savingsplans service" + }, + "scheduler": { + "description": "C++ SDK for the AWS scheduler service" + }, + "schemas": { + "description": "C++ SDK for the AWS schemas service" + }, + "sdb": { + "description": "C++ SDK for the AWS sdb service" + }, + "secretsmanager": { + "description": "C++ SDK for the AWS secretsmanager service" + }, + "securityhub": { + "description": "C++ SDK for the AWS securityhub service" + }, + "securitylake": { + "description": "C++ SDK for the AWS securitylake service" + }, + "serverlessrepo": { + "description": "C++ SDK for the AWS serverlessrepo service" + }, + "service-quotas": { + "description": "C++ SDK for the AWS service-quotas service" + }, + "servicecatalog": { + "description": "C++ SDK for the AWS servicecatalog service" + }, + "servicecatalog-appregistry": { + "description": "C++ SDK for the AWS servicecatalog-appregistry service" + }, + "servicediscovery": { + "description": "C++ SDK for the AWS servicediscovery service" + }, + "sesv2": { + "description": "C++ SDK for the AWS sesv2 service" + }, + "shield": { + "description": "C++ SDK for the AWS shield service" + }, + "signer": { + "description": "C++ SDK for the AWS signer service" + }, + "simspaceweaver": { + "description": "C++ SDK for the AWS simspaceweaver service" + }, + "sms": { + "description": "C++ SDK for the AWS sms service" + }, + "sms-voice": { + "description": "C++ SDK for the AWS sms-voice service" + }, + "snow-device-management": { + "description": "C++ SDK for the AWS snow-device-management service" + }, + "snowball": { + "description": "C++ SDK for the AWS snowball service" + }, + "sns": { + "description": "C++ SDK for the AWS sns service" + }, + "sqs": { + "description": "C++ SDK for the AWS sqs service" + }, + "ssm": { + "description": "C++ SDK for the AWS ssm service" + }, + "ssm-contacts": { + "description": "C++ SDK for the AWS ssm-contacts service" + }, + "ssm-incidents": { + "description": "C++ SDK for the AWS ssm-incidents service" + }, + "ssm-sap": { + "description": "C++ SDK for the AWS ssm-sap service" + }, + "sso": { + "description": "C++ SDK for the AWS sso service" + }, + "sso-admin": { + "description": "C++ SDK for the AWS sso-admin service" + }, + "sso-oidc": { + "description": "C++ SDK for the AWS sso-oidc service" + }, + "states": { + "description": "C++ SDK for the AWS states service" + }, + "storagegateway": { + "description": "C++ SDK for the AWS storagegateway service" + }, + "sts": { + "description": "C++ SDK for the AWS sts service" + }, + "support": { + "description": "C++ SDK for the AWS support service" + }, + "support-app": { + "description": "C++ SDK for the AWS support-app service" + }, + "swf": { + "description": "C++ SDK for the AWS swf service" + }, + "synthetics": { + "description": "C++ SDK for the AWS synthetics service" + }, + "text-to-speech": { + "description": "C++ SDK for the AWS text-to-speech service", + "dependencies": [ + { + "name": "aws-sdk-cpp", + "default-features": false, + "features": [ + "polly" + ] + } + ] + }, + "textract": { + "description": "C++ SDK for the AWS textract service" + }, + "timestream-query": { + "description": "C++ SDK for the AWS timestream-query service" + }, + "timestream-write": { + "description": "C++ SDK for the AWS timestream-write service" + }, + "tnb": { + "description": "C++ SDK for the AWS tnb service" + }, + "transcribe": { + "description": "C++ SDK for the AWS transcribe service" + }, + "transcribestreaming": { + "description": "C++ SDK for the AWS transcribestreaming service" + }, + "transfer": { + "description": "C++ SDK for the AWS transfer service", + "dependencies": [ + { + "name": "aws-sdk-cpp", + "default-features": false, + "features": [ + "s3" + ] + } + ] + }, + "translate": { + "description": "C++ SDK for the AWS translate service" + }, + "trustedadvisor": { + "description": "C++ SDK for the AWS trustedadvisor service" + }, + "verifiedpermissions": { + "description": "C++ SDK for the AWS verifiedpermissions service" + }, + "voice-id": { + "description": "C++ SDK for the AWS voice-id service" + }, + "vpc-lattice": { + "description": "C++ SDK for the AWS vpc-lattice service" + }, + "waf": { + "description": "C++ SDK for the AWS waf service" + }, + "waf-regional": { + "description": "C++ SDK for the AWS waf-regional service" + }, + "wafv2": { + "description": "C++ SDK for the AWS wafv2 service" + }, + "wellarchitected": { + "description": "C++ SDK for the AWS wellarchitected service" + }, + "wisdom": { + "description": "C++ SDK for the AWS wisdom service" + }, + "workdocs": { + "description": "C++ SDK for the AWS workdocs service" + }, + "worklink": { + "description": "C++ SDK for the AWS worklink service" + }, + "workmail": { + "description": "C++ SDK for the AWS workmail service" + }, + "workmailmessageflow": { + "description": "C++ SDK for the AWS workmailmessageflow service" + }, + "workspaces": { + "description": "C++ SDK for the AWS workspaces service" + }, + "workspaces-thin-client": { + "description": "C++ SDK for the AWS workspaces-thin-client service" + }, + "workspaces-web": { + "description": "C++ SDK for the AWS workspaces-web service" + }, + "xray": { + "description": "C++ SDK for the AWS xray service" + } + } +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/copyright b/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/copyright new file mode 100644 index 0000000000000000000000000000000000000000..8db79b8e29ca3b745b5ec9186e3d0cd376af4afd --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/copyright @@ -0,0 +1,28 @@ +## include/KHR/khrplatform.h + +Copyright (c) 2008-2018 The Khronos Group Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and/or associated documentation files (the +"Materials"), to deal in the Materials without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Materials, and to +permit persons to whom the Materials are furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Materials. + +THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. + +## include/EGL/* +## share/opengl/egl.xml + +Copyright 2013-2020 The Khronos Group Inc. +SPDX-License-Identifier: Apache-2.0 diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..7586c67f33f572ca2cbc296376aed20336e9a95c --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO KhronosGroup/EGL-Registry + REF 7db3005d4c2cb439f129a0adc931f3274f9019e6 + SHA512 474d7a4d614efed18151e0ff18840aaa8349ec0b01ec3cc4e6ff3f60fdb918e0b8c68dbb13e09dc5e7b081a9eb637b008b48b1a4be537d360f9a6d247b7b8802 + HEAD_REF master +) + +file( + COPY + "${SOURCE_PATH}/api/KHR" + "${SOURCE_PATH}/api/EGL" + DESTINATION "${CURRENT_PACKAGES_DIR}/include" +) + +file( + COPY + "${SOURCE_PATH}/api/egl.xml" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl" +) + +vcpkg_install_copyright(FILE_LIST "${CURRENT_PORT_DIR}/copyright") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..2c4f8b3d4c608c8827d76b6dba8534ab05ab29c2 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/egl-registry/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "egl-registry", + "version-date": "2024-01-25", + "description": "EGL API and Extension Registry", + "homepage": "https://github.com/KhronosGroup/EGL-Registry" +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/embree3/001-downgrade-find-package-tbb-2020.patch b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/001-downgrade-find-package-tbb-2020.patch new file mode 100644 index 0000000000000000000000000000000000000000..484008c5f1cd25882c69d04c4895549458e00cb7 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/001-downgrade-find-package-tbb-2020.patch @@ -0,0 +1,13 @@ +diff --git a/common/tasking/CMakeLists.txt b/common/tasking/CMakeLists.txt +index 2aeb736..3b4d856 100644 +--- a/common/tasking/CMakeLists.txt ++++ b/common/tasking/CMakeLists.txt +@@ -20,7 +20,7 @@ ELSEIF (TASKING_TBB) + TARGET_LINK_LIBRARIES(tasking PUBLIC TBB::${EMBREE_TBB_COMPONENT}) + else() + # Try getting TBB via config first +- find_package(TBB 2021 COMPONENTS ${EMBREE_TBB_COMPONENT} CONFIG ${TBB_FIND_PACKAGE_OPTION}) ++ find_package(TBB COMPONENTS ${EMBREE_TBB_COMPONENT} CONFIG ${TBB_FIND_PACKAGE_OPTION}) + if (TBB_FOUND) + TARGET_LINK_LIBRARIES(tasking PUBLIC TBB::${EMBREE_TBB_COMPONENT}) + message("-- Found TBB: ${TBB_VERSION} at ${TBB_DIR} via TBBConfig.cmake") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/embree3/no-runtime-install.patch b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/no-runtime-install.patch new file mode 100644 index 0000000000000000000000000000000000000000..02d44a722a26423d4637b38f5ab440fd76878ad9 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/no-runtime-install.patch @@ -0,0 +1,13 @@ +diff --git a/common/cmake/package.cmake b/common/cmake/package.cmake +index 5429436..8c89f5b 100644 +--- a/common/cmake/package.cmake ++++ b/common/cmake/package.cmake +@@ -24,7 +24,7 @@ ENDIF() + # Install MSVC runtime + ############################################################## + +-IF (WIN32) ++IF (0) + SET(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE) + INCLUDE(InstallRequiredSystemLibraries) + LIST(FILTER CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS INCLUDE REGEX ".*msvcp[0-9]+\.dll|.*vcruntime[0-9]+\.dll|.*vcruntime[0-9]+_[0-9]+\.dll") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/embree3/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..b734bbb18424c4c8a18d9f3a6441ca7d9ea3c37c --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/portfile.cmake @@ -0,0 +1,118 @@ + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO embree/embree + REF v${VERSION} + SHA512 13ae19b1750197fb4887ba601c75d1b54b3c388224672b6561dd922bc9b9747139cf46ce554727e3afa13dcf152ce4d703935cb9105ced792b011f2d05fa3e95 + HEAD_REF master + PATCHES + no-runtime-install.patch + 001-downgrade-find-package-tbb-2020.patch +) + +string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} static EMBREE_STATIC_LIB) +string(COMPARE EQUAL ${VCPKG_CRT_LINKAGE} static EMBREE_STATIC_RUNTIME) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + backface-culling EMBREE_BACKFACE_CULLING + compact-polys EMBREE_COMPACT_POLYS + filter-function EMBREE_FILTER_FUNCTION + ray-mask EMBREE_RAY_MASK + ray-packets EMBREE_RAY_PACKETS + + geometry-triangle EMBREE_GEOMETRY_TRIANGLE + geometry-quad EMBREE_GEOMETRY_QUAD + geometry-curve EMBREE_GEOMETRY_CURVE + geometry-subdivision EMBREE_GEOMETRY_SUBDIVISION + geometry-user EMBREE_GEOMETRY_USER + geometry-instance EMBREE_GEOMETRY_INSTANCE + geometry-grid EMBREE_GEOMETRY_GRID + geometry-point EMBREE_GEOMETRY_POINT +) + +# Automatically select best ISA based on platform or VCPKG_CMAKE_CONFIGURE_OPTIONS. +vcpkg_list(SET EXTRA_OPTIONS) +if(VCPKG_TARGET_IS_EMSCRIPTEN) + # Disable incorrect ISA set for Emscripten and enable NEON which is supported and should provide decent performance. + # cf. [Using SIMD with WebAssembly](https://emscripten.org/docs/porting/simd.html#using-simd-with-webassembly) + vcpkg_list(APPEND EXTRA_OPTIONS + -DEMBREE_MAX_ISA:STRING=NONE + + -DEMBREE_ISA_AVX:BOOL=OFF + -DEMBREE_ISA_AVX2:BOOL=OFF + -DEMBREE_ISA_AVX512:BOOL=OFF + -DEMBREE_ISA_SSE2:BOOL=OFF + -DEMBREE_ISA_SSE42:BOOL=OFF + -DEMBREE_ISA_NEON:BOOL=ON + ) +elseif(VCPKG_TARGET_IS_OSX AND (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")) + # The best ISA for Apple arm64 is unique and unambiguous. + vcpkg_list(APPEND EXTRA_OPTIONS + -DEMBREE_MAX_ISA:STRING=NONE + ) +elseif(VCPKG_TARGET_IS_OSX AND (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") AND (VCPKG_LIBRARY_LINKAGE STREQUAL "static")) + # AppleClang >= 9.0 does not support selecting multiple ISAs. + # Let Embree select the best and unique one. + vcpkg_list(APPEND EXTRA_OPTIONS + -DEMBREE_MAX_ISA:STRING=DEFAULT + ) +else() + # Let Embree select the best ISA set for the targeted platform. + vcpkg_list(APPEND EXTRA_OPTIONS + -DEMBREE_MAX_ISA:STRING=NONE + ) +endif() + +if("tasking-tbb" IN_LIST FEATURES) + set(EMBREE_TASKING_SYSTEM "TBB") +else() + set(EMBREE_TASKING_SYSTEM "INTERNAL") +endif() + +vcpkg_replace_string("${SOURCE_PATH}/common/cmake/installTBB.cmake" "IF (EMBREE_STATIC_LIB)" "IF (0)") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + DISABLE_PARALLEL_CONFIGURE + OPTIONS ${FEATURE_OPTIONS} ${EXTRA_OPTIONS} + -DEMBREE_ISPC_SUPPORT=OFF + -DEMBREE_TUTORIALS=OFF + -DEMBREE_STATIC_RUNTIME=${EMBREE_STATIC_RUNTIME} + -DEMBREE_STATIC_LIB=${EMBREE_STATIC_LIB} + -DEMBREE_TASKING_SYSTEM:STRING=${EMBREE_TASKING_SYSTEM} + -DEMBREE_INSTALL_DEPENDENCIES=OFF + MAYBE_UNUSED_VARIABLES + EMBREE_STATIC_RUNTIME +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/embree-${VERSION} PACKAGE_NAME embree) +set(config_file "${CURRENT_PACKAGES_DIR}/share/embree/embree-config.cmake") +# Fix details in config. +file(READ "${config_file}" contents) +string(REPLACE "SET(EMBREE_BUILD_TYPE Release)" "" contents "${contents}") +string(REPLACE "/../../../" "/../../" contents "${contents}") +string(REPLACE "FIND_PACKAGE" "include(CMakeFindDependencyMacro)\n find_dependency" contents "${contents}") +string(REPLACE "REQUIRED" "COMPONENTS" contents "${contents}") +string(REPLACE "/lib/cmake/embree-${VERSION}" "/share/embree" contents "${contents}") + +if(NOT VCPKG_BUILD_TYPE) + string(REPLACE "/lib/embree3.lib" "$<$:/debug>/lib/embree3.lib" contents "${contents}") +endif() +file(WRITE "${config_file}" "${contents}") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") +endif() +if(APPLE) + file(REMOVE "${CURRENT_PACKAGES_DIR}/uninstall.command" "${CURRENT_PACKAGES_DIR}/debug/uninstall.command") +endif() +file(RENAME "${CURRENT_PACKAGES_DIR}/share/doc" "${CURRENT_PACKAGES_DIR}/share/${PORT}/") + +file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/embree3/usage b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/usage new file mode 100644 index 0000000000000000000000000000000000000000..8622f121d74664a35977c87edfc8bdae90e3dfde --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/usage @@ -0,0 +1,4 @@ +The package embree3 provides CMake targets: + + find_package(embree 3 CONFIG REQUIRED) + target_link_libraries(main PRIVATE embree) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/embree3/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..821601bc6184bdc2cd3212001725c3d0b30e8072 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/embree3/vcpkg.json @@ -0,0 +1,79 @@ +{ + "name": "embree3", + "version": "3.13.5", + "port-version": 3, + "description": "High Performance Ray Tracing Kernels.", + "homepage": "https://github.com/embree/embree", + "license": "Apache-2.0", + "supports": "!arm | osx", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ], + "default-features": [ + "filter-function", + "geometry-curve", + "geometry-grid", + "geometry-instance", + "geometry-point", + "geometry-quad", + "geometry-subdivision", + "geometry-triangle", + "geometry-user", + "ray-packets", + "tasking-tbb" + ], + "features": { + "backface-culling": { + "description": "Enables backface culling." + }, + "compact-polys": { + "description": "Enables double indexed poly layout." + }, + "filter-function": { + "description": "Enables filter functions." + }, + "geometry-curve": { + "description": "Enables support for curve geometries." + }, + "geometry-grid": { + "description": "Enables support for grid geometries." + }, + "geometry-instance": { + "description": "Enables support for instances." + }, + "geometry-point": { + "description": "Enables support for point geometries." + }, + "geometry-quad": { + "description": "Enables support for quad geometries." + }, + "geometry-subdivision": { + "description": "Enables support for subdiv geometries." + }, + "geometry-triangle": { + "description": "Enables support for triangle geometries." + }, + "geometry-user": { + "description": "Enables support for user geometries." + }, + "ray-mask": { + "description": "Enables ray mask support." + }, + "ray-packets": { + "description": "Enabled support for ray packets." + }, + "tasking-tbb": { + "description": "Use oneTBB as task system.", + "dependencies": [ + "tbb" + ] + } + } +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/exports.def b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/exports.def new file mode 100644 index 0000000000000000000000000000000000000000..8fbbd381870288847bd77d6ff0bea266750b7b29 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/exports.def @@ -0,0 +1,71 @@ +EXPORTS + convert_baudrate_UT_export + ftdi_deinit + ftdi_disable_bitbang + ftdi_eeprom_build + ftdi_eeprom_decode + ftdi_eeprom_get_strings + ftdi_eeprom_initdefaults + ftdi_eeprom_set_strings + ftdi_erase_eeprom + ftdi_free + ftdi_get_eeprom_buf + ftdi_get_eeprom_value + ftdi_get_error_string + ftdi_get_latency_timer + ftdi_get_library_version + ftdi_init + ftdi_list_free + ftdi_list_free2 + ftdi_new + ftdi_poll_modem_status + ftdi_read_chipid + ftdi_read_data + ftdi_read_data_get_chunksize + ftdi_read_data_set_chunksize + ftdi_read_data_submit + ftdi_read_eeprom + ftdi_read_eeprom_location + ftdi_read_pins + ftdi_set_baudrate + ftdi_set_bitmode + ftdi_set_eeprom_buf + ftdi_set_eeprom_user_data + ftdi_set_eeprom_value + ftdi_set_error_char + ftdi_set_event_char + ftdi_set_interface + ftdi_set_latency_timer + ftdi_set_line_property + ftdi_set_line_property2 + ftdi_set_usbdev + ftdi_setdtr + ftdi_setdtr_rts + ftdi_setflowctrl + ftdi_setflowctrl_xonxoff + ftdi_setrts + ftdi_tciflush + ftdi_tcioflush + ftdi_tcoflush + ftdi_transfer_data_cancel + ftdi_transfer_data_done + ftdi_usb_close + ftdi_usb_find_all + ftdi_usb_get_strings + ftdi_usb_get_strings2 + ftdi_usb_open + ftdi_usb_open_bus_addr + ftdi_usb_open_desc + ftdi_usb_open_desc_index + ftdi_usb_open_dev + ftdi_usb_open_string + ftdi_usb_purge_buffers + ftdi_usb_purge_rx_buffer + ftdi_usb_purge_tx_buffer + ftdi_usb_reset + ftdi_write_data + ftdi_write_data_get_chunksize + ftdi_write_data_set_chunksize + ftdi_write_data_submit + ftdi_write_eeprom + ftdi_write_eeprom_location diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/libconfuse-fix.patch b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/libconfuse-fix.patch new file mode 100644 index 0000000000000000000000000000000000000000..b50bb0a3c00dfff1bd0a82e999b7fc4683c2046b --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/libconfuse-fix.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/FindConfuse.cmake b/cmake/FindConfuse.cmake +index f6af7d5..e24d72f 100755 +--- a/cmake/FindConfuse.cmake ++++ b/cmake/FindConfuse.cmake +@@ -46,7 +46,7 @@ find_path ( CONFUSE_INCLUDE_DIR + set ( CONFUSE_INCLUDE_DIRS ${CONFUSE_INCLUDE_DIR} ) + + find_library ( CONFUSE_LIBRARY +- NAMES confuse ++ NAMES libconfuse + ) + + set ( CONFUSE_LIBRARIES ${CONFUSE_LIBRARY} ) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/libusb-fix.patch b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/libusb-fix.patch new file mode 100644 index 0000000000000000000000000000000000000000..98dae3dea07414bb50371b0be6e9af2da37dbe82 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/libusb-fix.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/FindUSB1.cmake b/cmake/FindUSB1.cmake +index b90e297..6cc97a0 100755 +--- a/cmake/FindUSB1.cmake ++++ b/cmake/FindUSB1.cmake +@@ -26,7 +26,7 @@ else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) + PATH_SUFFIXES libusb-1.0 + PATHS ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDE_DIRS}) + +- FIND_LIBRARY(LIBUSB_LIBRARIES NAMES usb-1.0 ++ FIND_LIBRARY(LIBUSB_LIBRARIES NAMES usb-1.0 libusb-1.0 + PATHS ${PC_LIBUSB_LIBDIR} ${PC_LIBUSB_LIBRARY_DIRS}) + + include(FindPackageHandleStandardArgs) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..c51808805900d6a0eefd5f7105bae71f08456f85 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/portfile.cmake @@ -0,0 +1,49 @@ +vcpkg_download_distfile(ARCHIVE + URLS "https://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.5.tar.bz2" + FILENAME "libftdi1-1.5.tar.bz2" + SHA512 c525b2ab6aff9ef9254971ae7d57f3549a36a36875765c48f947d52532814a2a004de1232389d4fe824a8c8ab84277b08427308573476e1da9b7db83db802f6f +) + +vcpkg_extract_source_archive( + SOURCE_PATH + ARCHIVE ${ARCHIVE} + SOURCE_BASE 1.5 + PATCHES + libusb-fix.patch + libconfuse-fix.patch + win32.patch +) + +file(COPY "${CMAKE_CURRENT_LIST_DIR}/exports.def" DESTINATION "${SOURCE_PATH}/src") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_TESTS=OFF + -DDOCUMENTATION=OFF + -DEXAMPLES=OFF + -DPYTHON_BINDINGS=OFF + -DLINK_PYTHON_LIBRARY=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Boost=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libintl=ON + -DCMAKE_DISABLE_FIND_PACKAGE_PythonLibs=ON + -DCMAKE_DISABLE_FIND_PACKAGE_PythonInterp=ON + -DFTDI_EEPROM=OFF +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libftdi1) + +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share") + +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") +endif() + +vcpkg_copy_pdbs() + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..982f2b5e96902d9ad7a2db03bfb9a435695a4754 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "libftdi1", + "version": "1.5", + "port-version": 4, + "description": "FTDI USB driver with bitbang mode", + "dependencies": [ + "libconfuse", + "libusb", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/win32.patch b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/win32.patch new file mode 100644 index 0000000000000000000000000000000000000000..7cea44d4fd8ac189389a056244590881368feb0f --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libftdi1/win32.patch @@ -0,0 +1,28 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 17b3617..f9a8e59 100755 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -18,9 +18,14 @@ message(STATUS "Detected git snapshot version: ${SNAPSHOT_VERSION}") + configure_file(ftdi_version_i.h.in "${CMAKE_CURRENT_BINARY_DIR}/ftdi_version_i.h" @ONLY) + + # Targets ++if(WIN32) ++set(c_sources ${CMAKE_CURRENT_SOURCE_DIR}/ftdi.c ${CMAKE_CURRENT_SOURCE_DIR}/exports.def CACHE INTERNAL "List of c sources" ) ++else() + set(c_sources ${CMAKE_CURRENT_SOURCE_DIR}/ftdi.c ${CMAKE_CURRENT_SOURCE_DIR}/ftdi_stream.c CACHE INTERNAL "List of c sources" ) ++endif() + set(c_headers ${CMAKE_CURRENT_SOURCE_DIR}/ftdi.h CACHE INTERNAL "List of c headers" ) + ++if(BUILD_SHARED_LIBS) + add_library(ftdi1 SHARED ${c_sources}) + + math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1") # Compatibility with previous releases +@@ -38,7 +43,7 @@ install ( TARGETS ftdi1 + ARCHIVE DESTINATION lib${LIB_SUFFIX} + ) + +-if ( STATICLIBS ) ++else() + add_library(ftdi1-static STATIC ${c_sources}) + target_link_libraries(ftdi1-static ${LIBUSB_LIBRARIES}) + set_target_properties(ftdi1-static PROPERTIES OUTPUT_NAME "ftdi1") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/cmakelists.patch b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/cmakelists.patch new file mode 100644 index 0000000000000000000000000000000000000000..d2790e17d2bbfc7ed607a141154bcb6409acfb62 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/cmakelists.patch @@ -0,0 +1,23 @@ +diff --git a/libgeotiff/cmake/CMakeLists.txt b/libgeotiff/cmake/CMakeLists.txt +index 47a2b00..3809ba3 100644 +--- a/libgeotiff/cmake/CMakeLists.txt ++++ b/libgeotiff/cmake/CMakeLists.txt +@@ -6,6 +6,7 @@ + # ${INSTALL_CMAKE_DIR} and @PROJECT_ROOT_DIR@ is the relative + # path to the root from there. (Note that the whole install tree can + # be relocated.) ++if (0) + if (NOT WIN32) + set (INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}") + set (PROJECT_ROOT_DIR "../../..") +@@ -13,6 +14,10 @@ else () + set (INSTALL_CMAKE_DIR "cmake") + set (PROJECT_ROOT_DIR "..") + endif () ++else() ++ set (INSTALL_CMAKE_DIR "share/${PROJECT_NAME}") ++ set (PROJECT_ROOT_DIR "../..") ++endif() + + configure_file (project-config.cmake.in project-config.cmake @ONLY) + configure_file (project-config-version.cmake.in diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..efd2184b53189bd4312735c4348e6d6acc68615b --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/portfile.cmake @@ -0,0 +1,48 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO OSGeo/libgeotiff + REF 1.7.1 + SHA512 3c71a19f02a46a86d546777e2afe6bd715098779845967a5253ca949e0cacc0117c697cabd099611247e85e15cf1813733ae0ef445b136d7001f34667a4c8dd6 + HEAD_REF master + PATCHES + cmakelists.patch + skip-doc-install.patch + public-dependencies.patch +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + tools WITH_JPEG + tools WITH_UTILITIES +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}/libgeotiff" + OPTIONS + -DGEOTIFF_BIN_SUBDIR=bin + -DWITH_TIFF=1 + -DHAVE_TIFFOPEN=1 + -DHAVE_TIFFMERGEFIELDINFO=1 + -DCMAKE_MACOSX_BUNDLE=0 + ${FEATURE_OPTIONS} +) + +vcpkg_cmake_install() + +if(WITH_UTILITIES) + vcpkg_copy_tools(TOOL_NAMES applygeo geotifcp listgeo makegeo AUTO_CLEAN) +endif() + +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup(PACKAGE_NAME GeoTIFF) + +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/GeoTIFF/geotiff-config.cmake" "if (GeoTIFF_USE_STATIC_LIBS)" "if (1)") + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/bin") +endif() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share") + +file(INSTALL "${SOURCE_PATH}/libgeotiff/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/public-dependencies.patch b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/public-dependencies.patch new file mode 100644 index 0000000000000000000000000000000000000000..c2729732a3919db2c76580f3a541e39951ee9a18 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/public-dependencies.patch @@ -0,0 +1,47 @@ +diff --git a/libgeotiff/CMakeLists.txt b/libgeotiff/CMakeLists.txt +index 1840258..fcf2dd0 100644 +--- a/libgeotiff/CMakeLists.txt ++++ b/libgeotiff/CMakeLists.txt +@@ -311,17 +311,18 @@ endif() + SET_TARGET_PROPERTIES(${GEOTIFF_LIBRARY_TARGET} PROPERTIES + OUTPUT_NAME ${GEOTIFF_LIB_NAME}) + +-set(CONFIG_DEPENDENCIES "") ++set(CONFIG_PUBLIC_DEPENDENCIES "") ++set(CONFIG_PRIVATE_DEPENDENCIES "") + if(TARGET TIFF::TIFF) + set(TIFF_LIBRARIES TIFF::TIFF) +- string(APPEND CONFIG_DEPENDENCIES " find_dependency(TIFF)\n") ++ string(APPEND CONFIG_PUBLIC_DEPENDENCIES "find_dependency(TIFF)\n") + endif() + target_link_libraries(${GEOTIFF_LIBRARY_TARGET} PUBLIC + ${TIFF_LIBRARIES}) + + if(TARGET PROJ::proj) + set(PROJ_LIBRARIES PROJ::proj) +- string(APPEND CONFIG_DEPENDENCIES " find_dependency(PROJ CONFIG)\n") ++ string(APPEND CONFIG_PRIVATE_DEPENDENCIES " find_dependency(PROJ CONFIG)\n") + endif() + target_link_libraries(${GEOTIFF_LIBRARY_TARGET} PRIVATE + ${PROJ_LIBRARIES}) +diff --git a/libgeotiff/cmake/project-config.cmake.in b/libgeotiff/cmake/project-config.cmake.in +index 3690489..87de991 100644 +--- a/libgeotiff/cmake/project-config.cmake.in ++++ b/libgeotiff/cmake/project-config.cmake.in +@@ -22,13 +22,14 @@ set (@PROJECT_NAME@_BINARY_DIRS "${_ROOT}/bin") + unset (_ROOT) + unset (_DIR) + ++include(CMakeFindDependencyMacro) ++@CONFIG_PUBLIC_DEPENDENCIES@ + set (@PROJECT_NAME@_LIBRARIES @GEOTIFF_LIBRARY_TARGET@) + if("@BUILD_SHARED_LIBS@") + set (@PROJECT_NAME@_SHARED_LIBRARIES ${@PROJECT_NAME@_LIBRARIES}) + else() + set (@PROJECT_NAME@_STATIC_LIBRARIES ${@PROJECT_NAME@_LIBRARIES}) +- include(CMakeFindDependencyMacro) +-@CONFIG_DEPENDENCIES@ ++@CONFIG_PRIVATE_DEPENDENCIES@ + endif() + + if(NOT @PROJECT_NAME@_FIND_QUIETLY) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/skip-doc-install.patch b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/skip-doc-install.patch new file mode 100644 index 0000000000000000000000000000000000000000..bef3fc8605e6b2cfd9f16dc7e66cb58e69339287 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/skip-doc-install.patch @@ -0,0 +1,20 @@ +diff --git a/libgeotiff/CMakeLists.txt b/libgeotiff/CMakeLists.txt +index 54779a5..30ff29f 100644 +--- a/libgeotiff/CMakeLists.txt ++++ b/libgeotiff/CMakeLists.txt +@@ -262,6 +262,7 @@ SET(GEOTIFF_BIN_DIR ${GEOTIFF_BIN_SUBDIR}) + SET(GEOTIFF_LIB_DIR ${GEOTIFF_LIB_SUBDIR}) + SET(GEOTIFF_INCLUDE_DIR ${GEOTIFF_INCLUDE_SUBDIR}) + ++if(0) + # Install doc files + INSTALL(FILES + AUTHORS ChangeLog COPYING INSTALL LICENSE README README_BIN README.WIN +@@ -269,6 +270,7 @@ INSTALL(FILES + + # Install man pages + INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION share/man/man1) ++endif() + + + # Install header files for development distribution diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/usage b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/usage new file mode 100644 index 0000000000000000000000000000000000000000..df014cb55f1bb201a1b10ba3568e593e82ed1ba5 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/usage @@ -0,0 +1,5 @@ +The package libgeotiff provides a CMake config file: + + find_package(GeoTIFF CONFIG REQUIRED) + target_include_directories(main PRIVATE ${GEOTIFF_INCLUDE_DIR}) + target_link_libraries(main PRIVATE ${GEOTIFF_LIBRARIES}) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..5305df2f043b7ad60f1296ade8691f0ff5fbd9f5 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libgeotiff/vcpkg.json @@ -0,0 +1,37 @@ +{ + "name": "libgeotiff", + "version": "1.7.1", + "port-version": 3, + "description": "Libgeotiff is an open source library on top of libtiff for reading and writing GeoTIFF information tags.", + "homepage": "https://github.com/OSGeo/libgeotiff", + "license": "MIT", + "dependencies": [ + { + "name": "proj", + "default-features": false, + "features": [ + "tiff" + ] + }, + { + "name": "tiff", + "default-features": false + }, + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ], + "features": { + "tools": { + "description": "Install libgeotiff utility programs", + "dependencies": [ + "libjpeg-turbo" + ] + } + } +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/CMakeLists.txt b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..5dd0eb9b8012528bb0fc7608820ca793dc9ed3c6 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/CMakeLists.txt @@ -0,0 +1,47 @@ +cmake_minimum_required(VERSION 3.0) +project(libodb-boost VERSION 2.4.0 LANGUAGES CXX) +find_package(odb 2.4.0 REQUIRED COMPONENTS libodb) +configure_file(config.unix.h.in + ${CMAKE_CURRENT_SOURCE_DIR}/odb/boost/details/config.h COPYONLY) + +# FIXME: should we require boost? which packages? +# find_package(PostgreSQL REQUIRED) +set(LIBODB_INSTALL_HEADERS ON CACHE BOOL "Install the header files (a debug install)") +file(GLOB_RECURSE libodb_src LIST_DIRECTORIES False + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + *.cxx) +add_library(libodb-boost ${libodb_src}) +target_include_directories(libodb-boost + PUBLIC + $ + $ + +) + +target_link_libraries(libodb-boost PRIVATE odb::libodb) +if(BUILD_SHARED_LIBS) + target_compile_definitions(libodb-boost PRIVATE + -DLIBODB_BOOST_DYNAMIC_LIB) +else() + target_compile_definitions(libodb-boost PRIVATE + -DLIBODB_BOOST_STATIC_LIB) +endif() +install(TARGETS libodb-boost EXPORT odb_boostConfig + COMPONENT boost + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib + RUNTIME DESTINATION bin +) +if(LIBODB_INSTALL_HEADERS) +install(DIRECTORY odb DESTINATION include/ + COMPONENT sqlite + FILES_MATCHING + PATTERN "*.h" + PATTERN "*.hxx" + PATTERN "*.ixx" + PATTERN "*.txx" + PATTERN "*.options" +) +endif() +install(EXPORT odb_boostConfig NAMESPACE odb:: COMPONENT boost DESTINATION share/odb) +export(TARGETS libodb-boost NAMESPACE odb:: FILE odb_boostConfig.cmake) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/config.unix.h.in b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/config.unix.h.in new file mode 100644 index 0000000000000000000000000000000000000000..b049efd099e527efd8364a6325c91ca5d21732b2 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/config.unix.h.in @@ -0,0 +1,14 @@ +/* odb/boost/details/config.h. Generated from config.h.in by configure. */ +/* file : odb/boost/details/config.h.in + * copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC + * license : GNU GPL v2; see accompanying LICENSE file + */ + +/* This file is automatically processed by configure. */ + +#ifndef ODB_BOOST_DETAILS_CONFIG_H +#define ODB_BOOST_DETAILS_CONFIG_H + +/* #undef LIBODB_BOOST_STATIC_LIB */ + +#endif /* ODB_BOOST_DETAILS_CONFIG_H */ diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..5e0c3b7d47925802570f11737dcfef336803db9b --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/portfile.cmake @@ -0,0 +1,35 @@ +vcpkg_download_distfile(ARCHIVE + URLS "http://www.codesynthesis.com/download/odb/2.4/libodb-boost-2.4.0.tar.gz" + FILENAME "libodb-boost-2.4.0.tar.gz" + SHA512 af716b0385cf4ea18b20dcd5880c69c43cfc195eec4ff196a8e438833306489c39ab06a494e5d60cd08ba0d94caa05bd07e5f3fa836d835bad15c8a2ad7de306 +) + +vcpkg_extract_source_archive( + SOURCE_PATH + ARCHIVE "${ARCHIVE}" +) +file(REMOVE "${SOURCE_PATH}/version") + +file(COPY + "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" + "${CMAKE_CURRENT_LIST_DIR}/config.unix.h.in" + DESTINATION "${SOURCE_PATH}") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS_DEBUG + -DLIBODB_INSTALL_HEADERS=OFF +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() + +if(NOT VCPKG_BUILD_TYPE) + file(READ "${CURRENT_PACKAGES_DIR}/debug/share/odb/odb_boostConfig-debug.cmake" LIBODB_DEBUG_TARGETS) + string(REPLACE "\${_IMPORT_PREFIX}" "\${_IMPORT_PREFIX}/debug" LIBODB_DEBUG_TARGETS "${LIBODB_DEBUG_TARGETS}") + file(WRITE "${CURRENT_PACKAGES_DIR}/share/odb/odb_boostConfig-debug.cmake" "${LIBODB_DEBUG_TARGETS}") +endif() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..b216d72c228c7e32881b2c7cb46d7eddffc52d7c --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/libodb-boost/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "libodb-boost", + "version": "2.4.0", + "port-version": 7, + "description": "Description: Boost support for the ODB ORM library", + "dependencies": [ + "libodb", + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/CMakeLists.txt b/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..3ab763debc02596a009ee471ddcda48b6205cb96 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/CMakeLists.txt @@ -0,0 +1,65 @@ +cmake_minimum_required(VERSION 3.0.2) +project(luasocket) + +if(NOT WIN32) + message(FATAL_ERROR "Written for windows only") +endif() + +find_path(LUA_INCLUDE_DIR lua.h PATH_SUFFIXES lua) +find_library(LUA_LIBRARY lua) +set(LUASOCKET_INCLUDES ${LUA_INCLUDE_DIR} src) +set(LUASOCKET_LIBRARIES ${LUA_LIBRARY} ws2_32) + +add_library(socket.core + src/luasocket.c + src/timeout.c + src/buffer.c + src/io.c + src/auxiliar.c + src/options.c + src/inet.c + src/except.c + src/select.c + src/tcp.c + src/udp.c + src/compat.c + src/wsocket.c) + +add_library(mime.core + src/mime.c + src/compat.c) + +target_include_directories(socket.core PRIVATE ${LUASOCKET_INCLUDES}) +target_link_libraries(socket.core PRIVATE ${LUASOCKET_LIBRARIES}) + +target_include_directories(mime.core PRIVATE ${LUASOCKET_INCLUDES}) +target_link_libraries(mime.core PRIVATE ${LUASOCKET_LIBRARIES}) + +add_definitions( + "-DLUASOCKET_API=__declspec(dllexport)" + "-DMIME_API=__declspec(dllexport)") + +install(TARGETS socket.core + RUNTIME DESTINATION bin/socket + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) + +install(TARGETS mime.core + RUNTIME DESTINATION bin/mime + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) + +install(FILES + src/ltn12.lua + src/socket.lua + src/mime.lua + DESTINATION share/lua) + +install(FILES + src/http.lua + src/url.lua + src/tp.lua + src/ftp.lua + src/headers.lua + src/smtp.lua + DESTINATION share/lua/socket) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..a2a126e8ad2ee25056d45abf2c4fb67e4700185c --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/portfile.cmake @@ -0,0 +1,37 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO lunarmodules/luasocket + REF "v${VERSION}" + SHA512 1e9e98484740ec6538fe3d2b0dab74d31f052956ecf9ee3b60e229f2d0b13fcc6d4aaf74cd2a3e2ee330333dabb316fe6a43c60baaea26f0cc01069b6aa4519b + HEAD_REF master) + +file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() + +# Remove debug share +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +# Handle copyright +vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE) +if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") +# Handle socket dll name + file(RENAME "${CURRENT_PACKAGES_DIR}/bin/socket/socket.core.dll" "${CURRENT_PACKAGES_DIR}/bin/socket/core.dll" RESULT temp) + file(RENAME "${CURRENT_PACKAGES_DIR}/bin/socket/socket.core.pdb" "${CURRENT_PACKAGES_DIR}/bin/socket/core.pdb" RESULT temp) + file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin/socket/socket.core.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/socket/core.dll" RESULT temp) + file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin/socket/socket.core.pdb" "${CURRENT_PACKAGES_DIR}/debug/bin/socket/core.pdb" RESULT temp) + +# Handle mime dll name + file(RENAME "${CURRENT_PACKAGES_DIR}/bin/mime/mime.core.dll" "${CURRENT_PACKAGES_DIR}/bin/mime/core.dll" RESULT temp) + file(RENAME "${CURRENT_PACKAGES_DIR}/bin/mime/mime.core.pdb" "${CURRENT_PACKAGES_DIR}/bin/mime/core.pdb" RESULT temp) + file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin/mime/mime.core.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/mime/core.dll" RESULT temp) + file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin/mime/mime.core.pdb" "${CURRENT_PACKAGES_DIR}/debug/bin/mime/core.pdb" RESULT temp) +endif() + +# Allow empty include directory +set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..719065696084d5a62ad85fddfa6aafb3d6511364 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/luasocket/vcpkg.json @@ -0,0 +1,15 @@ +{ + "name": "luasocket", + "version": "3.1.0", + "description": "LuaSocket is a Lua extension library that is composed by two parts: a C core that provides support for the TCP and UDP transport layers, and a set of Lua modules that add support for functionality commonly needed by applications that deal with the Internet.", + "homepage": "https://lunarmodules.github.io/luasocket/", + "license": "MIT", + "supports": "windows", + "dependencies": [ + "lua", + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/miniupnpc/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/miniupnpc/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..a61b52fa2fa68adffad69329cb1f51f587e18bf7 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/miniupnpc/portfile.cmake @@ -0,0 +1,42 @@ +string(REPLACE "." "_" MINIUPNPC_VERSION "${VERSION}") +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO miniupnp/miniupnp + REF "miniupnpc_${MINIUPNPC_VERSION}" + SHA512 2f1fcd2d2820f649b832e1e0d6b826a812ee84f634460acb3b4af15338488fe3889bb8929c38a91a4f9786a5232177df479d874a388230723d27ae708d3b2592 + HEAD_REF master +) + +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" MINIUPNPC_BUILD_SHARED) +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" MINIUPNPC_BUILD_STATIC) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}/miniupnpc" + OPTIONS + -DUPNPC_BUILD_STATIC=${MINIUPNPC_BUILD_STATIC} + -DUPNPC_BUILD_SHARED=${MINIUPNPC_BUILD_SHARED} + -DUPNPC_BUILD_TESTS=OFF + -DUPNPC_BUILD_SAMPLE=OFF +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() + +vcpkg_cmake_config_fixup(CONFIG_PATH "/lib/cmake/${PORT}") +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") +else() + file(GLOB DEBUG_TOOLS "${CURRENT_PACKAGES_DIR}/debug/bin/*.exe") + file(GLOB RELEASE_TOOLS "${CURRENT_PACKAGES_DIR}/bin/*.exe") + file( + INSTALL ${RELEASE_TOOLS} + DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}" + ) + vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}") + file(REMOVE ${DEBUG_TOOLS} ${RELEASE_TOOLS}) +endif() +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/miniupnpc/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/miniupnpc/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..d01b0cd34d530fe55acc508e9c42afa2e2fd03c6 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/miniupnpc/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "miniupnpc", + "version": "2.2.6", + "description": "UPnP client library/tool to access Internet Gateway Devices", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/oatpp-mbedtls/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/oatpp-mbedtls/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..581d190498db7d42113779725a306e4b36cf48f0 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/oatpp-mbedtls/portfile.cmake @@ -0,0 +1,25 @@ +set(OATPP_VERSION "1.3.0") + +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO oatpp/oatpp-mbedtls + REF ${OATPP_VERSION} + SHA512 3eea805f2a02110daec25b7455543c59d8e72acd37d412fa98cb1c90f58e4edcd9cc62c16331efcca36a524834fa0f314f2f69a7a4d0d1108a758f811a68e021 + HEAD_REF master + PATCHES find-mbedtls.patch +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + "-DOATPP_BUILD_TESTS:BOOL=OFF" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(PACKAGE_NAME oatpp-mbedtls CONFIG_PATH lib/cmake/oatpp-mbedtls-${OATPP_VERSION}) +vcpkg_copy_pdbs() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/oatpp-mbedtls/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/oatpp-mbedtls/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..035f841b88c5b93555a981476f3bd2246cf5fc94 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/oatpp-mbedtls/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "oatpp-mbedtls", + "version": "1.3.0", + "description": "Oat++ Mbed TLS submodule providing secure server and client connection providers.", + "homepage": "https://github.com/oatpp/oatpp-mbedtls", + "dependencies": [ + "mbedtls", + "oatpp", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/00001-fix-build.patch b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/00001-fix-build.patch new file mode 100644 index 0000000000000000000000000000000000000000..27c09096b63f5693751be42056f629ec8cbcce88 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/00001-fix-build.patch @@ -0,0 +1,112 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 48908ead..90c17759 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -92,13 +92,13 @@ include_directories(${PYTHON_INCLUDE_DIRS}) + endif () + + if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" ) +-add_subdirectory(UnitTest++) ++#add_subdirectory(UnitTest++) + endif() + + add_subdirectory(src) +-add_subdirectory(examples) ++#add_subdirectory(examples) + if( WIN32) +-add_subdirectory(test) ++#add_subdirectory(test) + endif() + + install(DIRECTORY ${CMAKE_SOURCE_DIR}/spec/ DESTINATION share/quickfix +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index cb4a60c6..d21fa995 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -1,6 +1,6 @@ + add_subdirectory(C++) + +-if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" ) ++if(0) + + add_executable(at at.cpp getopt.c) + +diff --git a/src/C++/CMakeLists.txt b/src/C++/CMakeLists.txt +index 07774c97..27692631 100644 +--- a/src/C++/CMakeLists.txt ++++ b/src/C++/CMakeLists.txt +@@ -1,3 +1,4 @@ ++project(quickfix) + set(quickfix_VERSION_MAJOR 16) + set(quickfix_VERSION_MINOR 0) + set(quickfix_VERSION_PATCH 1) +@@ -64,19 +65,22 @@ endif() + + if (WIN32) + add_library(${PROJECT_NAME} STATIC ${quickfix_SOURCES}) +- set_target_properties (${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX d) + target_link_libraries(${PROJECT_NAME} ${OPENSSL_LIBRARIES} ${MYSQL_CLIENT_LIBS} ${PostgreSQL_LIBRARIES} ws2_32) ++ target_compile_definitions(${PROJECT_NAME} PRIVATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE) + else() +- add_library(${PROJECT_NAME} SHARED ${quickfix_SOURCES}) ++ add_library(${PROJECT_NAME} STATIC ${quickfix_SOURCES}) + target_link_libraries(${PROJECT_NAME} ${OPENSSL_LIBRARIES} ${MYSQL_CLIENT_LIBS} ${PostgreSQL_LIBRARIES} pthread) + endif() + + target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/C++) ++target_include_directories(${PROJECT_NAME} PUBLIC $) + + set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${quickfix_VERSION} SOVERSION ${quickfix_VERSION_MAJOR} ) ++target_compile_definitions(${PROJECT_NAME} PUBLIC HAVE_STD_UNIQUE_PTR HAVE_STD_SHARED_PTR HAVE_SSL=1) + +-install(TARGETS ${PROJECT_NAME} DESTINATION lib) ++install(TARGETS ${PROJECT_NAME} EXPORT quickfix-config DESTINATION lib) + install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/C++/ DESTINATION include/quickfix + FILES_MATCHING PATTERN "*.h" + PATTERN double-conversion EXCLUDE + PATTERN test EXCLUDE) ++install(EXPORT quickfix-config DESTINATION share/cmake/quickfix) +diff --git a/src/C++/Utility.h b/src/C++/Utility.h +index 0aa2cd3e..2829e110 100644 +--- a/src/C++/Utility.h ++++ b/src/C++/Utility.h +@@ -242,4 +242,10 @@ using std::strtol; + using std::strerror; + #endif + ++#ifdef __cpp_noexcept_function_type ++#define QUICKFIX_THROW(...) noexcept ++#else ++#define QUICKFIX_THROW(...) throw(__VA_ARGS__) ++#endif ++ + #endif +diff --git a/src/C++/UtilitySSL.cpp b/src/C++/UtilitySSL.cpp +index a01606ac..aee41bbf 100644 +--- a/src/C++/UtilitySSL.cpp ++++ b/src/C++/UtilitySSL.cpp +@@ -498,7 +498,11 @@ static void ssl_rand_seed(void) + /* + * seed in the current process id (usually just 4 bytes) + */ ++#ifdef _MSC_VER ++ pid = GetCurrentProcessId(); ++#else + pid = getpid(); ++#endif + l = sizeof(pid); + RAND_seed((unsigned char *)&pid, l); + /* +diff --git a/src/C++/double-conversion/utils.h b/src/C++/double-conversion/utils.h +index aef2f166..779b8ab7 100644 +--- a/src/C++/double-conversion/utils.h ++++ b/src/C++/double-conversion/utils.h +@@ -61,7 +61,7 @@ + // disabled.) + // On Linux,x86 89255e-22 != Div_double(89255.0/1e22) + #if defined(_M_X64) || defined(__x86_64__) || \ +- defined(__ARMEL__) || defined(__avr32__) || \ ++ defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ + defined(__hppa__) || defined(__ia64__) || \ + defined(__mips__) || \ + defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/fix_wsl_symlink_error.patch b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/fix_wsl_symlink_error.patch new file mode 100644 index 0000000000000000000000000000000000000000..ce6465a4ef40428c026f6646c32aa6526232786a --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/fix_wsl_symlink_error.patch @@ -0,0 +1,15 @@ +diff --git a/cmake/QuickfixPrebuildSetup.cmake b/cmake/QuickfixPrebuildSetup.cmake +index 9e53126ec..1c3368fcb 100644 +--- a/cmake/QuickfixPrebuildSetup.cmake ++++ b/cmake/QuickfixPrebuildSetup.cmake +@@ -3,8 +3,9 @@ + if (NOT WIN32) + add_custom_target(QUICKFIX_HEADERS_LINK ALL + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_SOURCE_DIR}/include/ +- COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/src/C++ ${CMAKE_SOURCE_DIR}/include/quickfix ++ #COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/src/C++ ${CMAKE_SOURCE_DIR}/include/quickfix + ) ++ include_directories(${CMAKE_SOURCE_DIR}/src/C++) + else() + add_custom_target(QUICKFIX_HEADERS_COPY ALL + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_SOURCE_DIR}/include/ diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..6ae5f2991a6718689d4dd0a344ccab39ea312dd1 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/portfile.cmake @@ -0,0 +1,49 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO quickfix/quickfix + REF v1.15.1 + SHA512 6c3dc53f25932c9b7516ab9228f634511ae0f399719f87f0ec2b38c380c0a7d1c808f0f9a14a70a063e1956118550d1121222283a9139f23cd4f8f038f595f70 + HEAD_REF master + PATCHES + 00001-fix-build.patch + fix_wsl_symlink_error.patch +) + +file(GLOB_RECURSE SRC_FILES RELATIVE "${SOURCE_PATH}" + "${SOURCE_PATH}/src/*.cpp" + "${SOURCE_PATH}/src/*.h" +) + +list(REMOVE_ITEM SRC_FILES "src/C++/Utility.h") +list(REMOVE_ITEM SRC_FILES "src/C++/pugixml.cpp") + +foreach(SRC_FILE IN LISTS SRC_FILES) + file(READ "${SOURCE_PATH}/${SRC_FILE}" _contents) + string(REPLACE "throw(" "QUICKFIX_THROW(" _contents "${_contents}") + string(REPLACE "throw (" "QUICKFIX_THROW(" _contents "${_contents}") + file(WRITE "${SOURCE_PATH}/${SRC_FILE}" "${_contents}") +endforeach() + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DHAVE_EMX=OFF + -DHAVE_MYSQL=OFF + -DHAVE_POSTGRESQL=OFF + -DHAVE_PYTHON=OFF + -DHAVE_PYTHON2=OFF + -DHAVE_PYTHON3=OFF + -DHAVE_SSL=ON +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/quickfix) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/usage b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/usage new file mode 100644 index 0000000000000000000000000000000000000000..2bed80460eb2bc8b4410b99aad25a6a92d9d889b --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/usage @@ -0,0 +1,4 @@ +The package quickfix provides CMake targets: + + find_package(quickfix CONFIG REQUIRED) + target_link_libraries(main PRIVATE quickfix) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..5ee3acb467d04933053d4bdea0ab898e1af62de2 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/quickfix/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "quickfix", + "version": "1.15.1", + "port-version": 9, + "description": "QuickFIX is a free and open source implementation of the FIX protocol.", + "homepage": "https://github.com/quickfix/quickfix", + "supports": "!uwp & !(osx & arm64)", + "dependencies": [ + "openssl", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/readline-osx/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/readline-osx/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..9aefc82414d12559b5d1b39a39141663d17a4607 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/readline-osx/portfile.cmake @@ -0,0 +1 @@ +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/readline-osx/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/readline-osx/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..381e95164c4a1727a0a97dbd8a3a575be16931d4 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/readline-osx/vcpkg.json @@ -0,0 +1,9 @@ +{ + "name": "readline-osx", + "version-date": "2020-01-04", + "description": "empty package, linking to readline-unix", + "supports": "osx", + "dependencies": [ + "readline-unix" + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/8.2p1.diff b/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/8.2p1.diff new file mode 100644 index 0000000000000000000000000000000000000000..0cb8c9c5d97b36cdede72c4e3d03fdd885c61bf9 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/8.2p1.diff @@ -0,0 +1,24 @@ +diff --git a/nls.c b/nls.c +index 5c6a13b..8c027d6 100644 +--- a/nls.c ++++ b/nls.c +@@ -141,6 +141,10 @@ _rl_init_locale (void) + if (lspec == 0) + lspec = ""; + ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */ ++ if (ret == 0 || *ret == 0) ++ ret = setlocale (LC_CTYPE, (char *)NULL); ++ if (ret == 0 || *ret == 0) ++ ret = RL_DEFAULT_LOCALE; + #else + ret = (lspec == 0 || *lspec == 0) ? RL_DEFAULT_LOCALE : lspec; + #endif +diff --git a/patchlevel b/patchlevel +index d8c9df7..fdf4740 100644 +--- a/patchlevel ++++ b/patchlevel +@@ -1,3 +1,3 @@ + # Do not edit -- exists only for use by patch + +-0 ++1 diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..aca06be6ac94c80309acdfb1b6d3fd6a342eab60 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/portfile.cmake @@ -0,0 +1,34 @@ +set(filename readline-${VERSION}.tar.gz) +vcpkg_download_distfile( + ARCHIVE + URLS + "https://ftpmirror.gnu.org/gnu/readline/${filename}" + "https://ftp.gnu.org/gnu/readline/${filename}" + FILENAME "${filename}" + SHA512 0a451d459146bfdeecc9cdd94bda6a6416d3e93abd80885a40b334312f16eb890f8618a27ca26868cebbddf1224983e631b1cbc002c1a4d1cd0d65fba9fea49a +) + +vcpkg_extract_source_archive(SOURCE_PATH + ARCHIVE "${ARCHIVE}" + PATCHES + 8.2p1.diff +) + +vcpkg_configure_make( + SOURCE_PATH "${SOURCE_PATH}" + DETERMINE_BUILD_TRIPLET + OPTIONS + --with-curses=yes + --disable-install-examples +) + +vcpkg_install_make() + +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug/share" + "${CURRENT_PACKAGES_DIR}/tools" +) + +vcpkg_fixup_pkgconfig() + +file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..ffdc931d87b1796c9f9fd382d4345054e1a92a27 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/readline-unix/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "readline-unix", + "version": "8.2", + "port-version": 1, + "description": "The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.", + "homepage": "https://tiswww.case.edu/php/chet/readline/rltop.html", + "license": "GPL-3.0-or-later", + "supports": "!windows", + "dependencies": [ + "ncurses" + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/simbody/common-name-libs.patch b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/common-name-libs.patch new file mode 100644 index 0000000000000000000000000000000000000000..52d4845b34c62a0826c489cef1e82c8a82a79d75 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/common-name-libs.patch @@ -0,0 +1,84 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1995170..7ddb018 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -174,25 +174,25 @@ FORCE) + + + set(SimTKCOMMON_SHARED_LIBRARY ${SimTKCOMMON_LIBRARY_NAME}) +-set(SimTKCOMMON_STATIC_LIBRARY ${SimTKCOMMON_LIBRARY_NAME}_static) ++set(SimTKCOMMON_STATIC_LIBRARY ${SimTKCOMMON_LIBRARY_NAME}) + + set(SimTKCOMMON_LIBRARY_NAME_VN ${NS}SimTKcommon${VN}) + set(SimTKCOMMON_SHARED_LIBRARY_VN ${SimTKCOMMON_LIBRARY_NAME_VN}) +-set(SimTKCOMMON_STATIC_LIBRARY_VN ${SimTKCOMMON_LIBRARY_NAME_VN}_static) ++set(SimTKCOMMON_STATIC_LIBRARY_VN ${SimTKCOMMON_LIBRARY_NAME_VN}) + + set(SimTKMATH_SHARED_LIBRARY ${SimTKMATH_LIBRARY_NAME}) +-set(SimTKMATH_STATIC_LIBRARY ${SimTKMATH_LIBRARY_NAME}_static) ++set(SimTKMATH_STATIC_LIBRARY ${SimTKMATH_LIBRARY_NAME}) + + set(SimTKMATH_LIBRARY_NAME_VN ${NS}SimTKmath${VN}) + set(SimTKMATH_SHARED_LIBRARY_VN ${SimTKMATH_LIBRARY_NAME_VN}) +-set(SimTKMATH_STATIC_LIBRARY_VN ${SimTKMATH_LIBRARY_NAME_VN}_static) ++set(SimTKMATH_STATIC_LIBRARY_VN ${SimTKMATH_LIBRARY_NAME_VN}) + + set(SimTKSIMBODY_SHARED_LIBRARY ${SimTKSIMBODY_LIBRARY_NAME}) +-set(SimTKSIMBODY_STATIC_LIBRARY ${SimTKSIMBODY_LIBRARY_NAME}_static) ++set(SimTKSIMBODY_STATIC_LIBRARY ${SimTKSIMBODY_LIBRARY_NAME}) + + set(SimTKSIMBODY_LIBRARY_NAME_VN ${NS}SimTKsimbody${VN}) + set(SimTKSIMBODY_SHARED_LIBRARY_VN ${SimTKSIMBODY_LIBRARY_NAME_VN}) +-set(SimTKSIMBODY_STATIC_LIBRARY_VN ${SimTKSIMBODY_LIBRARY_NAME_VN}_static) ++set(SimTKSIMBODY_STATIC_LIBRARY_VN ${SimTKSIMBODY_LIBRARY_NAME_VN}) + + + # Caution: this variable is automatically created by the CMake +diff --git a/SimTKcommon/CMakeLists.txt b/SimTKcommon/CMakeLists.txt +index 47839f5..84ad865 100644 +--- a/SimTKcommon/CMakeLists.txt ++++ b/SimTKcommon/CMakeLists.txt +@@ -86,9 +86,9 @@ endif(NEED_QUOTES) + # -DSimTKcommon_EXPORTS defined automatically when Windows DLL build is being done. + + set(SHARED_TARGET ${SimTKCOMMON_LIBRARY_NAME}) +-set(STATIC_TARGET ${SimTKCOMMON_LIBRARY_NAME}_static) ++set(STATIC_TARGET ${SimTKCOMMON_LIBRARY_NAME}) + set(SHARED_TARGET_VN ${SimTKCOMMON_LIBRARY_NAME}${VN}) +-set(STATIC_TARGET_VN ${SimTKCOMMON_LIBRARY_NAME}${VN}_static) ++set(STATIC_TARGET_VN ${SimTKCOMMON_LIBRARY_NAME}${VN}) + + ## Test against the unversioned libraries if they are being build; + ## otherwise against the versioned libraries. +diff --git a/SimTKmath/CMakeLists.txt b/SimTKmath/CMakeLists.txt +index f5c82ae..d3ee9bf 100644 +--- a/SimTKmath/CMakeLists.txt ++++ b/SimTKmath/CMakeLists.txt +@@ -79,9 +79,9 @@ endif(NEED_QUOTES) + # -Dsimmath_EXPORTS defined automatically when Windows DLL build is being done. + + set(SHARED_TARGET ${SimTKMATH_LIBRARY_NAME}) +-set(STATIC_TARGET ${SimTKMATH_LIBRARY_NAME}_static) ++set(STATIC_TARGET ${SimTKMATH_LIBRARY_NAME}) + set(SHARED_TARGET_VN ${SimTKMATH_LIBRARY_NAME}${VN}) +-set(STATIC_TARGET_VN ${SimTKMATH_LIBRARY_NAME}${VN}_static) ++set(STATIC_TARGET_VN ${SimTKMATH_LIBRARY_NAME}${VN}) + + ## Test against the unversioned libraries if they are being built; + ## otherwise against the versioned libraries. +diff --git a/Simbody/CMakeLists.txt b/Simbody/CMakeLists.txt +index 062c2b9..e320f57 100644 +--- a/Simbody/CMakeLists.txt ++++ b/Simbody/CMakeLists.txt +@@ -42,9 +42,9 @@ add_definitions(-DSimTK_SIMBODY_LIBRARY_NAME=${SimTKSIMBODY_LIBRARY_NAME} + + + set(SHARED_TARGET ${SimTKSIMBODY_LIBRARY_NAME}) +-set(STATIC_TARGET ${SimTKSIMBODY_LIBRARY_NAME}_static) ++set(STATIC_TARGET ${SimTKSIMBODY_LIBRARY_NAME}) + set(SHARED_TARGET_VN ${SimTKSIMBODY_LIBRARY_NAME}${VN}) +-set(STATIC_TARGET_VN ${SimTKSIMBODY_LIBRARY_NAME}${VN}_static) ++set(STATIC_TARGET_VN ${SimTKSIMBODY_LIBRARY_NAME}${VN}) + + ## Test against the unversioned libraries if they are being built; + ## otherwise against the versioned libraries. diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/simbody/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..397671e539f9434c36fbdcd103433275e9d3550c --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/portfile.cmake @@ -0,0 +1,44 @@ + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO simbody/simbody + REF 462b2a6dbb8794db2922d72f52b29b488a178ebc + SHA512 e2b1837e0a04461ebc94e80f5e8aa29f874a1113383db8b24e77b0c9413c4a6bab0299c6a9b2f07147e82ef01a765fed6d6455d5bd059882c646830dd8d1b224 + HEAD_REF master + PATCHES + common-name-libs.patch +) + +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBRARIES) +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_DYNAMIC_LIBRARIES) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_DYNAMIC_LIBRARIES=${BUILD_DYNAMIC_LIBRARIES} + -DBUILD_STATIC_LIBRARIES=${BUILD_STATIC_LIBRARIES} + -DWINDOWS_USE_EXTERNAL_LIBS=ON + -DINSTALL_DOCS=OFF + -DBUILD_VISUALIZER=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTING=OFF + -DBUILD_TESTS_AND_EXAMPLES_STATIC=OFF + -DBUILD_TESTS_AND_EXAMPLES_SHARED=OFF +) + +vcpkg_cmake_install() + +if(WIN32) + vcpkg_cmake_config_fixup(CONFIG_PATH cmake) +else() + vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}") +endif() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/doc") + +vcpkg_fixup_pkgconfig() + +file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/simbody/usage b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/usage new file mode 100644 index 0000000000000000000000000000000000000000..eb8d5d811753ef10da4894ff5792bf9441b9d432 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/usage @@ -0,0 +1,4 @@ +Simbody provides CMake targets: + + find_package(Simbody CONFIG REQUIRED) + target_link_libraries(main PRIVATE SimTKcommon SimTKmath SimTKsimbody) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/simbody/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..7c04c2b7d1b895dd52edea7a998f27b43196ae89 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/simbody/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "simbody", + "version-date": "2023-01-10", + "description": "High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.", + "homepage": "https://simtk.org/home/simbody", + "license": "Apache-2.0", + "supports": "!uwp", + "dependencies": [ + "blas", + "lapack", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/simpleble/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/simpleble/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..36b764f846e0103929e64b47890f48ae517539a2 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/simpleble/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO OpenBluetoothToolbox/SimpleBLE + HEAD_REF main + REF a07397dbdd7f8149b7b235b5b21b88b60e8cfbed + SHA512 f9bdb668da151dbc2335b9cfd17a130fdefb349e57e9ff3a270e1c0cc8b7ad1bfdf03704cd1e2c1c7c8b34f44684aa2bf649c14666c2c6fd9ea0ddad1e6bc8a3 +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}/simpleble" + OPTIONS + -DLIBFMT_VENDORIZE=OFF +) + +vcpkg_cmake_install() + +vcpkg_copy_pdbs() + +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/simpleble") + +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/simpleble/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/simpleble/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..a6a4a44bd131bbd8822481e836ae362b23da8948 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/simpleble/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "simpleble", + "version-date": "2023-07-29", + "description": "The ultimate fully-fledged cross-platform library and bindings for Bluetooth Low Energy (BLE).", + "homepage": "https://github.com/OpenBluetoothToolbox/SimpleBLE", + "license": "MIT", + "supports": "!android & !uwp", + "dependencies": [ + "fmt", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/sockpp/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/sockpp/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..dd22fe4d46886a42f11dbd7bc7660a31e81893b7 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/sockpp/portfile.cmake @@ -0,0 +1,29 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO fpagliughi/sockpp + REF "v${VERSION}" + SHA512 99191c9551ff345f96af9177d124c6e10f3da8e87021576058b63df82ee64461cb8fc134919fe390617200aebf222e70501e3cee43fc0a294596947669ed4f03 + HEAD_REF master +) + +vcpkg_replace_string("${SOURCE_PATH}/CMakeLists.txt" "\${SOCKPP}-static" "\${SOCKPP}") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DSOCKPP_BUILD_SHARED=OFF + -DSOCKPP_BUILD_STATIC=ON + -DSOCKPP_BUILD_DOCUMENTATION=OFF + -DSOCKPP_BUILD_EXAMPLES=OFF + -DSOCKPP_BUILD_TESTS=OFF +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/sockpp/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/sockpp/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..866a60d706b5d9c620d0cb37377eac781627fe68 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/sockpp/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "sockpp", + "version": "1.0.0", + "description": "Simple, modern, C++ socket library. This is a fairly low-level C++ wrapper around the Berkeley sockets library using socket, acceptor, and connector classes that are familiar concepts from other languages.", + "homepage": "https://github.com/fpagliughi/sockpp", + "license": "BSD-3-Clause", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/strtk/copyright b/cc-multilingual-main/cc_net/vcpkg/ports/strtk/copyright new file mode 100644 index 0000000000000000000000000000000000000000..e732a0a9ad4b93d16a0a7fca9f9dfe8bf76ee6e4 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/strtk/copyright @@ -0,0 +1,8 @@ +Copyright 2002-2018 Arash Partow +http://www.partow.net/programming/strtk/index.html + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/strtk/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/strtk/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..b48ea0bae040ad25a2afdf8f48407f86eb36adbb --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/strtk/portfile.cmake @@ -0,0 +1,15 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ArashPartow/strtk + REF d9cc24c696ca3aea25d2ac8c2c495e18d7e6cd89 # accessed on 2020-09-14 + SHA512 c37c0df1dd3f7bc1dfcceea83ed9303cf9388ba400ee645f26a24bca50bf85209f7b8a2169f6b98b0267ece986a29a27605ff3eaef50a44629fb7e042d06f26a +) + +file(COPY "${SOURCE_PATH}/strtk.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +if("boost" IN_LIST FEATURES) +else() + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/strtk.hpp" "#ifndef strtk_no_tr1_or_boost" "#if 0") +endif() + +vcpkg_install_copyright(FILE_LIST "${CMAKE_CURRENT_LIST_DIR}/copyright") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/strtk/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/strtk/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..9ab9c956c14f3ce805d1f343b5f47d4d3b87582e --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/strtk/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "strtk", + "version-date": "2020-09-14", + "port-version": 3, + "description": "robust, optimized and portable string processing algorithms for the C++ language", + "homepage": "https://github.com/ArashPartow/strtk", + "license": null, + "features": { + "boost": { + "description": "Request boost libraries", + "dependencies": [ + "boost" + ] + } + } +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-cmakelists.patch b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-cmakelists.patch new file mode 100644 index 0000000000000000000000000000000000000000..48ba317bd88316fff5563953a6d7bb45135bd78b --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-cmakelists.patch @@ -0,0 +1,27 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,6 +26,7 @@ + cmake_minimum_required(VERSION 2.8.7) + set(CMAKE_MACOSX_RPATH 1) + include(${CMAKE_ROOT}/Modules/ExternalProject.cmake) ++include(${CMAKE_ROOT}/Modules/GenerateExportHeader.cmake) + + + ### +@@ -153,6 +154,8 @@ IF (SELECT_TIMEOUT) + set_target_properties(${PROJECT} PROPERTIES COMPILE_DEFINITIONS "__TACOPIE_TIMEOUT=${SELECT_TIMEOUT}") + ENDIF(SELECT_TIMEOUT) + ++generate_export_header(${PROJECT} EXPORT_FILE_NAME ${CMAKE_BINARY_DIR}/tacopie/utils/${PROJECT}_export.hpp) ++target_include_directories(${PROJECT} PUBLIC ${CMAKE_BINARY_DIR}) + + ### + # install +@@ -164,6 +167,7 @@ install(DIRECTORY DESTINATION ${CMAKE_BINARY_DIR}/bin/) + install (DIRECTORY ${CMAKE_BINARY_DIR}/lib/ DESTINATION lib USE_SOURCE_PERMISSIONS) + install (DIRECTORY ${CMAKE_BINARY_DIR}/bin/ DESTINATION bin USE_SOURCE_PERMISSIONS) + install (DIRECTORY ${TACOPIE_INCLUDES}/ DESTINATION include USE_SOURCE_PERMISSIONS) ++install (FILES ${CMAKE_BINARY_DIR}/tacopie/utils/${PROJECT}_export.hpp DESTINATION include/tacopie/utils) + + + ### diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-export.patch b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-export.patch new file mode 100644 index 0000000000000000000000000000000000000000..d971b833893d31e1d975058fcae05b519a73ae9f --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-export.patch @@ -0,0 +1,20 @@ +--- a/includes/tacopie/utils/logger.hpp ++++ b/includes/tacopie/utils/logger.hpp +@@ -26,6 +26,8 @@ + #include + #include + ++#include ++ + namespace tacopie { + + //! +@@ -161,7 +163,7 @@ private: + //! variable containing the current logger + //! by default, not set (no logs) + //! +-extern std::unique_ptr active_logger; ++extern TACOPIE_EXPORT std::unique_ptr active_logger; + + //! + //! debug logging diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-mingw-build.patch b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-mingw-build.patch new file mode 100644 index 0000000000000000000000000000000000000000..a7b5bd4ecb295cf08d5ba150631ee768d7bbcb1f --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/fix-mingw-build.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -44,7 +44,7 @@ project(${PROJECT} CXX) + ### + # compilation options + ### +-IF (WIN32) ++IF (MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /O2 /bigobj") + + # was causing conflics with gtest build diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..1dc96736557f0e95984667c9cf7b77fa7aaab023 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/portfile.cmake @@ -0,0 +1,43 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO cpp-redis/tacopie + REF 3.2.0 + SHA512 079b294b537aaffe3bcf43a485c3be5b15f633c3f7c70140032d60cb010d35b76e76ef4ddd7596f6bfaf3f7edca7cb086c67552efffbf65846e725d7be54ce72 + HEAD_REF master + PATCHES + fix-cmakelists.patch + fix-export.patch + fix-mingw-build.patch +) + +if(VCPKG_CRT_LINKAGE STREQUAL dynamic) + set(MSVC_RUNTIME_LIBRARY_CONFIG "/MD") +else() + set(MSVC_RUNTIME_LIBRARY_CONFIG "/MT") +endif() + +if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR NOT VCPKG_CMAKE_SYSTEM_NAME) + # tacopie forcibly removes "/RTC1" in its cmake file. Because this is an ABI-sensitive flag, we need to re-add it in a form that won't be detected. + set(VCPKG_CXX_FLAGS_DEBUG "${VCPKG_CXX_FLAGS_DEBUG} -RTC1") + set(VCPKG_C_FLAGS_DEBUG "${VCPKG_C_FLAGS_DEBUG} -RTC1") +endif() + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DMSVC_RUNTIME_LIBRARY_CONFIG=${MSVC_RUNTIME_LIBRARY_CONFIG} +) + +vcpkg_cmake_install() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +if(VCPKG_LIBRARY_LINKAGE STREQUAL static) + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") +endif() + +vcpkg_copy_pdbs() + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..6dc38391a05290b7d966037329dc7ca9a6e08080 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tacopie/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "tacopie", + "version": "3.2.0", + "port-version": 6, + "description": "Tacopie is a TCP Client & Server C++11 library", + "homepage": "https://github.com/cpp-redis/tacopie", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/disable-examples.patch b/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/disable-examples.patch new file mode 100644 index 0000000000000000000000000000000000000000..698ab804bb9ddd03175bfab6c40d23588afdff90 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/disable-examples.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8662ba3..040e642 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -42,9 +42,6 @@ if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") + add_compile_options(-std=c++11 -Wall -Wextra) + endif() + +- add_executable(examples examples.cpp) +- target_link_libraries(examples tiny-process-library) +- + install(TARGETS tiny-process-library + EXPORT ${PROJECT_NAME}-config + ARCHIVE DESTINATION lib diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..be906205d3ae3a31cd8a3b8224e9811bca74417e --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/portfile.cmake @@ -0,0 +1,35 @@ +if(VCPKG_TARGET_IS_WINDOWS) + vcpkg_check_linkage(ONLY_STATIC_LIBRARY) +endif() + +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.com + OUT_SOURCE_PATH SOURCE_PATH + REPO eidheim/tiny-process-library + REF v2.0.4 + SHA512 bbdd268361159b7c64cb60f29afa780ee5e57fa696f0683a55cb9824ec5985c8229a9a8217d2b9ecdd194b9a3acbbd75a1a821392361fbc85b1f6841f40c95db + HEAD_REF master + PATCHES + disable-examples.patch +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_TESTING=OFF +) + +vcpkg_cmake_install() + +vcpkg_copy_pdbs() + +vcpkg_cmake_config_fixup( + CONFIG_PATH lib/cmake/tiny-process-library +) + +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug/include" + "${CURRENT_PACKAGES_DIR}/debug/share" +) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..6562566b3532722a5a1518e63059fdacc3458b46 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tiny-process-library/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "tiny-process-library", + "version": "2.0.4", + "port-version": 3, + "description": "A small platform independent library to create and stop new processes in C++", + "homepage": "https://gitlab.com/eidheim/tiny-process-library/", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/fix-uwp.patch b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/fix-uwp.patch new file mode 100644 index 0000000000000000000000000000000000000000..7a3cb66cbb903855ac98b103d41476fbbbc926dc --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/fix-uwp.patch @@ -0,0 +1,12 @@ +--- a/tinyexr.h ++++ b/tinyexr.h +@@ -608,7 +608,9 @@ extern int LoadEXRFromMemory(float **out_rgba, int *width, int *height, + #define NOMINMAX + #endif + #include // for UTF-8 and memory-mapping ++#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) + #define TINYEXR_USE_WIN32_MMAP (1) ++#endif + + #elif defined(__linux__) || defined(__unix__) + #include // for open() diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/fixtargets.patch b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/fixtargets.patch new file mode 100644 index 0000000000000000000000000000000000000000..867438426f2341bdecb5032d73119df9868e73c5 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/fixtargets.patch @@ -0,0 +1,93 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6d03e7e..be416f5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,6 +7,20 @@ set(SAMPLE_TARGET "test_tinyexr") + + project(${BUILD_TARGET} CXX) + ++set(INSTALL_BIN_DIR "bin" CACHE PATH "Path where exe and dll will be installed") ++set(INSTALL_LIB_DIR "lib" CACHE PATH "Path where lib will be installed") ++set(INSTALL_INCLUDE_DIR "include" CACHE PATH "Path where headers will be installed") ++set(INSTALL_CMAKE_DIR "share/tinyexr" CACHE PATH "Path where cmake configs will be installed") ++ ++# Make relative paths absolute (needed later on) ++set(RELATIVE_INSTALL_INCLUDE_DIR ${INSTALL_INCLUDE_DIR}) ++foreach(p LIB BIN INCLUDE CMAKE) ++ set(var INSTALL_${p}_DIR) ++ if(NOT IS_ABSOLUTE "${${var}}") ++ set(${var} "${CMAKE_INSTALL_PREFIX}/${${var}}") ++ endif() ++endforeach() ++ + # options + option(TINYEXR_BUILD_SAMPLE "Build a sample" ON) + option(TINYEXR_USE_MINIZ "Use miniz" ON) +@@ -28,11 +42,8 @@ set(TINYEXR_SOURCES + ) + + if(TINYEXR_USE_MINIZ) +- enable_language(C) +- add_library(miniz STATIC deps/miniz/miniz.c) +- target_include_directories(miniz PUBLIC deps/miniz) +- set_target_properties(miniz PROPERTIES FOLDER "deps") +- list(APPEND TINYEXR_EXT_LIBRARIES miniz) ++ find_package(miniz CONFIG REQUIRED) ++ list(APPEND TINYEXR_EXT_LIBRARIES miniz::miniz) + endif() + + add_library(${BUILD_TARGET} ${TINYEXR_SOURCES} ${TINYEXR_DEP_SOURCES}) +@@ -43,7 +54,7 @@ target_link_libraries(${BUILD_TARGET} ${TINYEXR_EXT_LIBRARIES} ${CMAKE_DL_LIBS}) + + # Increase warning level for clang. + IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang") +- set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Werror -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function") ++ set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function") + ENDIF () + + if (TINYEXR_BUILD_SAMPLE) +@@ -72,3 +83,32 @@ if (TINYEXR_BUILD_SAMPLE) + endif(WIN32) + + endif (TINYEXR_BUILD_SAMPLE) ++ ++target_include_directories(${BUILD_TARGET} PUBLIC $ $) ++set_target_properties(${BUILD_TARGET} PROPERTIES PUBLIC_HEADER "${PROJECT_SOURCE_DIR}/tinyexr.h") ++ ++install(TARGETS ${BUILD_TARGET} EXPORT ${BUILD_TARGET}Targets ++ RUNTIME DESTINATION "${INSTALL_BIN_DIR}" ++ LIBRARY DESTINATION "${INSTALL_LIB_DIR}" ++ ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" ++ PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}" ++ COMPONENT dev ++) ++ ++install(EXPORT ${BUILD_TARGET}Targets ++ FILE ${BUILD_TARGET}Targets.cmake ++ NAMESPACE unofficial::${BUILD_TARGET}:: ++ DESTINATION "${INSTALL_CMAKE_DIR}" ++) ++ ++include(CMakePackageConfigHelpers) ++configure_package_config_file( ++ ${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in ++ ${CMAKE_CURRENT_BINARY_DIR}/${BUILD_TARGET}Config.cmake ++ INSTALL_DESTINATION "${INSTALL_CMAKE_DIR}" ++) ++ ++install( ++ FILES ${CMAKE_CURRENT_BINARY_DIR}/${BUILD_TARGET}Config.cmake ++ DESTINATION "${INSTALL_CMAKE_DIR}" ++) +diff --git a/Config.cmake.in b/Config.cmake.in +new file mode 100644 +index 0000000..2e33c1d +--- /dev/null ++++ b/Config.cmake.in +@@ -0,0 +1,6 @@ ++@PACKAGE_INIT@ ++ ++include(CMakeFindDependencyMacro) ++find_dependency(miniz CONFIG REQUIRED) ++ ++include("${CMAKE_CURRENT_LIST_DIR}/@BUILD_TARGET@Targets.cmake") diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..4502350bff606db5d52c1a45e4cbecb06dd53287 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/portfile.cmake @@ -0,0 +1,23 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO syoyo/tinyexr + REF "v${VERSION}" + SHA512 c15ac7d21cba70c3247ea49674191097325fcba7bfaeb8163298ded2e3b67f55b1b6486fd90a80f23f950661e96c063a28a70569f40a8938cd41249c34b4bbfe + HEAD_REF master + PATCHES + fixtargets.patch + fix-uwp.patch # https://github.com/syoyo/tinyexr/pull/195 +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH} + OPTIONS + -DTINYEXR_BUILD_SAMPLE=OFF +) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..2871772fb95b8c929dc3bc94234d4c3a8894da57 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/tinyexr/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "tinyexr", + "version": "1.0.5", + "description": "Library to load and save OpenEXR(.exr) images", + "homepage": "https://github.com/syoyo/tinyexr", + "license": "BSD-3-Clause", + "dependencies": [ + "miniz", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/trantor/000-fix-deps.patch b/cc-multilingual-main/cc_net/vcpkg/ports/trantor/000-fix-deps.patch new file mode 100644 index 0000000000000000000000000000000000000000..590e9786a4bc2ab66acc0fd05b2880752417f70d --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/trantor/000-fix-deps.patch @@ -0,0 +1,35 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 22d9115..da6edaf 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -220,7 +220,7 @@ endif(HAVE_SPDLOG) + + set(HAVE_C-ARES NO) + if (BUILD_C-ARES) +- find_package(c-ares) ++ find_package(c-ares CONFIG) + if(c-ares_FOUND) + message(STATUS "c-ares found!") + set(HAVE_C-ARES TRUE) +@@ -231,7 +231,7 @@ if(HAVE_C-ARES) + if (NOT BUILD_SHARED_LIBS) + target_compile_definitions(${PROJECT_NAME} PRIVATE CARES_STATICLIB) + endif () +- target_link_libraries(${PROJECT_NAME} PRIVATE c-ares_lib) ++ target_link_libraries(${PROJECT_NAME} PRIVATE c-ares::cares) + set(TRANTOR_SOURCES + ${TRANTOR_SOURCES} + trantor/net/inner/AresResolver.cc) +diff --git a/cmake/templates/TrantorConfig.cmake.in b/cmake/templates/TrantorConfig.cmake.in +index 61007bd..c5dd363 100644 +--- a/cmake/templates/TrantorConfig.cmake.in ++++ b/cmake/templates/TrantorConfig.cmake.in +@@ -17,7 +17,7 @@ if(@Botan_FOUND@) + find_dependency(Botan) + endif() + if(@c-ares_FOUND@) +- find_dependency(c-ares) ++ find_dependency(c-ares CONFIG) + endif() + find_dependency(Threads) + if(@spdlog_FOUND@) diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/trantor/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/trantor/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..77e49016ba696c323b80cf85b5ea2e9345b9a3b0 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/trantor/portfile.cmake @@ -0,0 +1,29 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO an-tao/trantor + REF "v${VERSION}" + SHA512 43202240968b90d0e6d211d3b7a918567587e4ad26c360848efee2661cc1d49d35de408db5e2ff7314be879faac99ffa29ffa1f3735f9606d95874130db05250 + HEAD_REF master + PATCHES + 000-fix-deps.patch +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +# Fix CMake files +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Trantor) + +vcpkg_fixup_pkgconfig() + +# # Remove includes in debug +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +# Handle copyright +file(INSTALL "${SOURCE_PATH}/License" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +# Copy pdb files +vcpkg_copy_pdbs() diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/trantor/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/trantor/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..fdfcc25f7f15aec410f163c060daaa7214f286a2 --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/trantor/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "trantor", + "version-semver": "1.5.17", + "description": "A non-blocking I/O cross-platform TCP network library, using C++14", + "homepage": "https://github.com/an-tao/trantor", + "license": "BSD-2-Clause", + "dependencies": [ + "c-ares", + "openssl", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/umock-c/portfile.cmake b/cc-multilingual-main/cc_net/vcpkg/ports/umock-c/portfile.cmake new file mode 100644 index 0000000000000000000000000000000000000000..7fdff99f125a9ad9e18d0307d534cddee1afcd0d --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/umock-c/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Azure/umock-c + REF 504193e65d1c2f6eb50c15357167600a296df7ff + SHA512 68d5d986314dbd46d20de2a9b9454154c11675c25d1b5a5b1cfecdd0c0945d9dc68d0348ec1dbb00b5d1a6a1f0356121ba561d7c8fffb97ab37864edade5a85b + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Drun_unittests=OFF + -Drun_int_tests=OFF + -Duse_installed_dependencies=ON +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(PACKAGE_NAME umock_c CONFIG_PATH "cmake") + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) + +configure_file(${SOURCE_PATH}/readme.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) + +vcpkg_copy_pdbs() diff --git a/cc-multilingual-main/cc_net/vcpkg/ports/umock-c/vcpkg.json b/cc-multilingual-main/cc_net/vcpkg/ports/umock-c/vcpkg.json new file mode 100644 index 0000000000000000000000000000000000000000..2c1f35913a64bf2f1f33617fb7f753161bf4afdd --- /dev/null +++ b/cc-multilingual-main/cc_net/vcpkg/ports/umock-c/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "umock-c", + "version-date": "2022-01-21", + "port-version": 1, + "description": "A pure C mocking library", + "homepage": "https://github.com/Azure/umock-c", + "license": "MIT", + "dependencies": [ + "azure-macro-utils-c", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +}