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