1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer (MSVC): Make Z7 default debug info flag

This commit is contained in:
Oliver James 2025-03-12 17:06:26 +00:00 committed by Anthony Nicholls
parent 9ce2feaf41
commit 62028e6773
17 changed files with 73 additions and 39 deletions

View file

@ -468,7 +468,7 @@ public:
warningsAreErrorsValue (config, Ids::warningsAreErrors, getUndoManager(), false),
prebuildCommandValue (config, Ids::prebuildCommand, getUndoManager()),
postbuildCommandValue (config, Ids::postbuildCommand, getUndoManager()),
generateDebugSymbolsValue (config, Ids::alwaysGenerateDebugSymbols, getUndoManager(), false),
generateDebugSymbolsValue (config, Ids::alwaysGenerateDebugSymbols, getUndoManager(), true),
enableIncrementalLinkingValue (config, Ids::enableIncrementalLinking, getUndoManager(), false),
useRuntimeLibDLLValue (config, Ids::useRuntimeLibDLL, getUndoManager(), true),
multiProcessorCompilationValue (config, Ids::multiProcessorCompilation, getUndoManager(), true),
@ -476,7 +476,7 @@ public:
characterSetValue (config, Ids::characterSet, getUndoManager()),
architectureTypeValue (config, Ids::winArchitecture, getUndoManager(), Array<var> { getArchitectureValueString (Architecture::win64) }, ","),
fastMathValue (config, Ids::fastMath, getUndoManager()),
debugInformationFormatValue (config, Ids::debugInformationFormat, getUndoManager(), isDebug() ? "ProgramDatabase" : "None"),
debugInformationFormatValue (config, Ids::debugInformationFormat, getUndoManager(), "OldStyle"),
pluginBinaryCopyStepValue (config, Ids::enablePluginBinaryCopyStep, getUndoManager(), false),
vstBinaryLocation (config, Ids::vstBinaryLocation, getUndoManager()),
vst3BinaryLocation (config, Ids::vst3BinaryLocation, getUndoManager()),
@ -1085,11 +1085,11 @@ public:
cl->createNewChildElement ("Optimization")->addTextElement (getOptimisationLevelString (config.getOptimisationLevelInt()));
if (isDebug || config.shouldGenerateDebugSymbols())
{
cl->createNewChildElement ("DebugInformationFormat")
->addTextElement (config.getDebugInformationFormatString());
}
const auto debugInfoFormat = isDebug || config.shouldGenerateDebugSymbols()
? config.getDebugInformationFormatString()
: "OldStyle";
cl->createNewChildElement ("DebugInformationFormat")->addTextElement (debugInfoFormat);
addIncludePathsAndPreprocessorDefinitions (*cl, EscapeQuotes::no);