1 Commits
Author SHA1 Message Date
Mikaël Capelle 63bbf443d9 Allow running bootstrap.ps1 from a different directory. 2023-09-06 18:22:37 +02:00
+6 -2
View File
@@ -3,8 +3,12 @@ if (!$root) {
$root = "." $root = "."
} }
cmake -B build . | Out-Null cmake -B build $root | Out-Null
cmake --build build --config Release -- "-p:UseMultiToolTask=true" "-noLogo" "-p:EnforceProcessCountAcrossBuilds=true" "-clp:ErrorsOnly;Verbosity=minimal" cmake --build $root/build --config Release -- `
"-p:UseMultiToolTask=true" `
"-noLogo" `
"-p:EnforceProcessCountAcrossBuilds=true" `
"-clp:ErrorsOnly;Verbosity=minimal"
if (! $?) { if (! $?) {
Write-Error "Build failed" Write-Error "Build failed"