Skip to content

Commit 056455b

Browse files
committed
Use OldStyle for the debug information in a release build so we can create a .pdb elsewhere.
1 parent 252d608 commit 056455b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Project.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ void Project::writeCompilationConfiguration(wofstream &file) const
425425
file << " <OpenMPSupport>" << openMPSupport() << "</OpenMPSupport>" << endl;
426426
file << " <WarningLevel>" << warningLevel() << "</WarningLevel>" << endl;
427427
file << " <DebugInformationFormat Condition=\"'$(Configuration)'=='Debug'\">ProgramDatabase</DebugInformationFormat>" << endl;
428-
file << " <DebugInformationFormat Condition=\"'$(Configuration)'=='Release'\">None</DebugInformationFormat>" << endl;
428+
file << " <DebugInformationFormat Condition=\"'$(Configuration)'=='Release'\">OldStyle</DebugInformationFormat>" << endl;
429429
file << " <BasicRuntimeChecks Condition=\"'$(Configuration)'=='Debug'\">EnableFastChecks</BasicRuntimeChecks>" << endl;
430430
file << " <BasicRuntimeChecks Condition=\"'$(Configuration)'=='Release'\">Default</BasicRuntimeChecks>" << endl;
431431
file << " <InlineFunctionExpansion Condition=\"'$(Configuration)'=='Debug'\">Disabled</InlineFunctionExpansion>" << endl;

0 commit comments

Comments
 (0)