mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 13:28:01 +08:00
[aws-sdk-cpp] Remove polly-sample feature. Fixes #3123.
This commit is contained in:
parent
3e33a7751e
commit
6dc98bbcee
@ -304,9 +304,6 @@ Description: C++ SDK for the AWS pinpoint service
|
||||
Feature: polly
|
||||
Description: C++ SDK for the AWS polly service
|
||||
|
||||
Feature: polly-sample
|
||||
Description: C++ SDK for the AWS polly-sample service
|
||||
|
||||
Feature: pricing
|
||||
Description: C++ SDK for the AWS pricing service
|
||||
|
||||
|
@ -299,9 +299,6 @@ endif()
|
||||
if("polly" IN_LIST FEATURES)
|
||||
list(APPEND BUILD_ONLY polly)
|
||||
endif()
|
||||
if("polly-sample" IN_LIST FEATURES)
|
||||
list(APPEND BUILD_ONLY polly-sample)
|
||||
endif()
|
||||
if("pricing" IN_LIST FEATURES)
|
||||
list(APPEND BUILD_ONLY pricing)
|
||||
endif()
|
||||
|
@ -30,6 +30,7 @@ function GetDescription($dir, $modulename)
|
||||
$subfolders | % {
|
||||
$modulename = $_.name -replace "^aws-cpp-sdk-",""
|
||||
if ($modulename -match "-tests`$") { return }
|
||||
if ($modulename -match "-sample`$") { return }
|
||||
if ($modulename -eq "core") { return }
|
||||
|
||||
$controltext += @("")
|
||||
@ -44,7 +45,7 @@ $subfolders | % {
|
||||
}
|
||||
|
||||
Write-Verbose ($controltext -join "`n")
|
||||
$controltext | out-file -enc ascii $ControlFile
|
||||
[IO.File]::WriteAllText($ControlFile, ($controltext -join "`n")+"`n")
|
||||
|
||||
Write-Verbose ($cmakefragmenttext -join "`n")
|
||||
$cmakefragmenttext | out-file -enc ascii $CMakeFragmentFile
|
||||
[IO.File]::WriteAllText($CMakeFragmentFile, ($cmakefragmenttext -join "`n") +"`n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user