mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-01 11:07:53 +00:00
prevent x64 samples build attempt for win32
This commit is contained in:
@@ -387,11 +387,20 @@ function Build-Components([string] $extension, [string] $platformName, [string]
|
||||
else{ Write-Host "Tool not supported: $tool" }
|
||||
}
|
||||
ElseIf ($samples -and ($type -eq "sample"))
|
||||
{
|
||||
if ($platform -eq 'x64')
|
||||
{
|
||||
Get-Childitem "$poco_base\$($componentDir)" -Recurse |`
|
||||
Where {$_.Extension -Match $extension -And $_.DirectoryName -Like "*samples*" -And $_.BaseName -Like "*$platformName$($suffix)" } `
|
||||
| Build-samples "$_"
|
||||
}
|
||||
else
|
||||
{
|
||||
Get-Childitem "$poco_base\$($componentDir)" -Recurse |`
|
||||
Where {$_.Extension -Match $extension -And $_.DirectoryName -Like "*samples*" -And $_.BaseName -Like "*$($suffix)" -And $_.BaseName -NotLike "*_x64_*" } `
|
||||
| Build-samples "$_"
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user