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.
2 parents 9c3d8df + fe90ed9 commit a037974Copy full SHA for a037974
utils/build.ps1
@@ -581,7 +581,8 @@ function Build-CMakeProject {
581
$UseBuiltCompilers.Contains("C") -Or $UseBuiltCompilers.Contains("CXX") -Or
582
$UsePinnedCompilers.Contains("C") -Or $UsePinnedCompilers.Contains("CXX")) {
583
if ($DebugInfo) {
584
- $CFlags += if ($EnableCaching) { "/Z7" } else { "/Zi" }
+ Append-FlagsDefine $Defines CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded
585
+ Append-FlagsDefine $Defines CMAKE_POLICY_CMP0141 NEW
586
# Add additional linker flags for generating the debug info.
587
Append-FlagsDefine $Defines CMAKE_SHARED_LINKER_FLAGS "/debug"
588
Append-FlagsDefine $Defines CMAKE_EXE_LINKER_FLAGS "/debug"
0 commit comments