add check for corehost
This commit is contained in:
parent
1eee5114a4
commit
d442d36189
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ Download it from https://www.cmake.org
|
||||||
$pf = (cat "env:\ProgramFiles(x86)")
|
$pf = (cat "env:\ProgramFiles(x86)")
|
||||||
}
|
}
|
||||||
& "$pf\MSBuild\14.0\Bin\MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration="$Configuration"
|
& "$pf\MSBuild\14.0\Bin\MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration="$Configuration"
|
||||||
|
if (!$?) {
|
||||||
|
Write-Host "Command failed: $pf\MSBuild\14.0\Bin\MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration="$Configuration"
|
||||||
|
Exit 1
|
||||||
|
}
|
||||||
|
|
||||||
if (!(Test-Path $HostDir)) {
|
if (!(Test-Path $HostDir)) {
|
||||||
mkdir $HostDir | Out-Null
|
mkdir $HostDir | Out-Null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue