fixed linkmode for "both" configuration builds

This commit is contained in:
Aleksandar Fabijanic 2014-06-26 15:44:20 -05:00
parent acde81f041
commit 3c120c0a69

View File

@ -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"
}
}