mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fixed linkmode for "both" configuration builds
This commit is contained in:
parent
acde81f041
commit
3c120c0a69
@ -233,7 +233,7 @@ function Build-MSBuild([string] $vsProject)
|
||||
foreach ($cfg in $configArr)
|
||||
{
|
||||
$projectConfig = "$cfg"
|
||||
$projectConfig += "_$mode"
|
||||
$projectConfig += "_$linkmode"
|
||||
Invoke-Expression "msbuild $vsProject /t:$action /p:Configuration=$projectConfig /p:Platform=$platform /p:useenv=true"
|
||||
}
|
||||
}
|
||||
@ -281,7 +281,7 @@ function Build-Devenv([string] $vsProject)
|
||||
foreach ($cfg in $configArr)
|
||||
{
|
||||
$projectConfig = "$cfg"
|
||||
$projectConfig += "_$mode"
|
||||
$projectConfig += "_$linkmode"
|
||||
Invoke-Expression "devenv /useenv /$action $projectConfig $vsProject"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user