mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Introjucer: turn off SEH in VS2012 export when edit+continue enabled.
This commit is contained in:
parent
b467be7a16
commit
8d0d475234
1 changed files with 12 additions and 2 deletions
|
|
@ -1170,14 +1170,21 @@ protected:
|
|||
midl->createNewChildElement ("HeaderFileName");
|
||||
}
|
||||
|
||||
bool isUsingEditAndContinue = false;
|
||||
|
||||
{
|
||||
XmlElement* cl = group->createNewChildElement ("ClCompile");
|
||||
|
||||
cl->createNewChildElement ("Optimization")->addTextElement (getOptimisationLevelString (config.getOptimisationLevelInt()));
|
||||
|
||||
if (isDebug && config.getOptimisationLevelInt() <= optimisationOff)
|
||||
cl->createNewChildElement ("DebugInformationFormat")->addTextElement (is64Bit (config) ? "ProgramDatabase"
|
||||
: "EditAndContinue");
|
||||
{
|
||||
isUsingEditAndContinue = ! is64Bit (config);
|
||||
|
||||
cl->createNewChildElement ("DebugInformationFormat")
|
||||
->addTextElement (isUsingEditAndContinue ? "EditAndContinue"
|
||||
: "ProgramDatabase");
|
||||
}
|
||||
|
||||
StringArray includePaths (getHeaderSearchPaths (config));
|
||||
includePaths.add ("%(AdditionalIncludeDirectories)");
|
||||
|
|
@ -1218,6 +1225,9 @@ protected:
|
|||
if (! is64Bit (config))
|
||||
link->createNewChildElement ("TargetMachine")->addTextElement ("MachineX86");
|
||||
|
||||
if (isUsingEditAndContinue)
|
||||
link->createNewChildElement ("ImageHasSafeExceptionHandlers")->addTextElement ("false");
|
||||
|
||||
if (! isDebug)
|
||||
{
|
||||
link->createNewChildElement ("OptimizeReferences")->addTextElement ("true");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue