mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
parent
3fc54807cb
commit
edfca67857
@ -294,7 +294,7 @@ $windowsSDK = getWindowsSDK
|
||||
$arguments = (
|
||||
"`"/p:VCPKG_VERSION=-nohash`"",
|
||||
"`"/p:DISABLE_METRICS=$disableMetrics`"",
|
||||
"/p:Configuration=Release",
|
||||
"/p:Configuration=release",
|
||||
"/p:Platform=x86",
|
||||
"/p:PlatformToolset=$platformToolset",
|
||||
"/p:TargetPlatformVersion=$windowsSDK",
|
||||
@ -325,6 +325,7 @@ function vcpkgInvokeCommandClean()
|
||||
|
||||
# vcpkgInvokeCommandClean cmd "/c echo %PATH%"
|
||||
Write-Host "`nBuilding vcpkg.exe ...`n"
|
||||
Write-Host $arguments
|
||||
$ec = vcpkgInvokeCommandClean $msbuildExe $arguments
|
||||
|
||||
if ($ec -ne 0)
|
||||
@ -336,5 +337,5 @@ Write-Host "`nBuilding vcpkg.exe... done.`n"
|
||||
|
||||
Write-Verbose("Placing vcpkg.exe in the correct location")
|
||||
|
||||
Copy-Item $vcpkgSourcesPath\Release\vcpkg.exe $vcpkgRootDir\vcpkg.exe | Out-Null
|
||||
Copy-Item $vcpkgSourcesPath\Release\vcpkgmetricsuploader.exe $vcpkgRootDir\scripts\vcpkgmetricsuploader.exe | Out-Null
|
||||
Copy-Item $vcpkgSourcesPath\release\vcpkg.exe $vcpkgRootDir\vcpkg.exe | Out-Null
|
||||
Copy-Item $vcpkgSourcesPath\release\vcpkgmetricsuploader.exe $vcpkgRootDir\scripts\vcpkgmetricsuploader.exe | Out-Null
|
||||
|
Loading…
x
Reference in New Issue
Block a user