mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 06:37:42 +01:00
prevent x64 samples build attempt for win32
This commit is contained in:
parent
95b2afe480
commit
e1f82a35bf
15
buildwin.ps1
15
buildwin.ps1
@ -388,9 +388,18 @@ function Build-Components([string] $extension, [string] $platformName, [string]
|
||||
}
|
||||
ElseIf ($samples -and ($type -eq "sample"))
|
||||
{
|
||||
Get-Childitem "$poco_base\$($componentDir)" -Recurse |`
|
||||
Where {$_.Extension -Match $extension -And $_.DirectoryName -Like "*samples*" -And $_.BaseName -Like "*$platformName$($suffix)" } `
|
||||
| Build-samples "$_"
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user