We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 767fc49 commit 4cd42a6Copy full SHA for 4cd42a6
utils/build.ps1
@@ -1370,17 +1370,9 @@ function Build-CMakeProject {
1370
1371
if ($DebugInfo) {
1372
$ASMDebugFlags = if ($CDebugFormat -eq "dwarf") {
1373
- if ($UseGNUDriver) {
1374
- @("-gdwarf")
1375
- } else {
1376
- @("-clang:-gdwarf")
1377
- }
+ if ($UseGNUDriver) { @("-gdwarf") } else { @("-clang:-gdwarf") }
1378
} else {
1379
1380
- @("-gcodeview")
1381
1382
- @("-clang:-gcodeview")
1383
+ if ($UseGNUDriver) { @("-gcodeview") } else { @("-clang:-gcodeview") }
1384
}
1385
1386
# CMake does not set a default value for the ASM compiler debug
0 commit comments