mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 01:58:14 +08:00
[bootstrap] Specify full path for dirs.proj
This commit is contained in:
parent
edcc8e2c36
commit
6e07cbeff4
@ -37,9 +37,6 @@ if (!(Test-Path $vcpkgSourcesPath))
|
||||
return
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
Push-Location $vcpkgSourcesPath
|
||||
$msbuildExeWithPlatformToolset = & $scriptsDir\findAnyMSBuildWithCppPlatformToolset.ps1 $withVSPath
|
||||
$msbuildExe = $msbuildExeWithPlatformToolset[0]
|
||||
$platformToolset = $msbuildExeWithPlatformToolset[1]
|
||||
@ -53,7 +50,7 @@ try
|
||||
"/p:PlatformToolset=$platformToolset",
|
||||
"/p:TargetPlatformVersion=$windowsSDK",
|
||||
"/m",
|
||||
"dirs.proj") -join " "
|
||||
"$vcpkgSourcesPath\dirs.proj") -join " "
|
||||
|
||||
# vcpkgInvokeCommandClean cmd "/c echo %PATH%"
|
||||
$ec = vcpkgInvokeCommandClean $msbuildExe $arguments
|
||||
@ -68,8 +65,3 @@ try
|
||||
|
||||
Copy-Item $vcpkgSourcesPath\Release\vcpkg.exe $vcpkgRootDir\vcpkg.exe | Out-Null
|
||||
Copy-Item $vcpkgSourcesPath\Release\vcpkgmetricsuploader.exe $vcpkgRootDir\scripts\vcpkgmetricsuploader.exe | Out-Null
|
||||
}
|
||||
finally
|
||||
{
|
||||
Pop-Location
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user