From ea00d6201aa6a822d281a64d5859c1238027ee35 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 9 Nov 2017 14:57:22 +0000 Subject: [PATCH] Projucer: Add VS debug information format setting to debug builds and release builds with forced generation of debug symbols --- .../Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h index 1eb5891bce..aaab950884 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h @@ -254,7 +254,7 @@ public: StringArray (debugInfoOptions), Array (debugInfoValues)), "The type of debugging information created for your program for this configuration." - " This will only be used in a debug configuration with no optimisation or a release configuration" + " This will always be used in a debug configuration and will be used in a release configuration" " with forced generation of debug symbols."); } @@ -557,8 +557,7 @@ public: cl->createNewChildElement ("Optimization")->addTextElement (getOptimisationLevelString (config.getOptimisationLevelInt())); - if ((isDebug || config.shouldGenerateDebugSymbols()) - && config.getOptimisationLevelInt() <= optimisationOff) + if (isDebug || config.shouldGenerateDebugSymbols()) { cl->createNewChildElement ("DebugInformationFormat") ->addTextElement (config.getDebugInformationFormatString());