Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Disable C++ exceptions, use debug format that includes debug informat…
Browse files Browse the repository at this point in the history
…ion in the static libraries, and standardize on Program Database / Program Database with edit and continue for the DLL debug format.
  • Loading branch information
slouken committed May 6, 2013
1 parent 6022c7c commit b78818a
Show file tree
Hide file tree
Showing 9 changed files with 407 additions and 361 deletions.
12 changes: 7 additions & 5 deletions VisualC/SDL/SDL_VS2008.vcproj
Expand Up @@ -53,7 +53,7 @@
Optimization="0"
AdditionalIncludeDirectories="..\..\include"
PreprocessorDefinitions="_DEBUG;_WINDOWS"
ExceptionHandling="2"
ExceptionHandling="0"
RuntimeLibrary="3"
BufferSecurityCheck="false"
WarningLevel="3"
Expand Down Expand Up @@ -136,13 +136,13 @@
Optimization="0"
AdditionalIncludeDirectories="..\..\include"
PreprocessorDefinitions="_DEBUG;_WINDOWS"
ExceptionHandling="2"
ExceptionHandling="0"
RuntimeLibrary="2"
BufferSecurityCheck="false"
WarningLevel="3"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
DebugInformationFormat="4"
CompileAs="0"
/>
<Tool
Expand Down Expand Up @@ -223,13 +223,14 @@
AdditionalIncludeDirectories="..\..\include"
PreprocessorDefinitions="NDEBUG;_WINDOWS"
StringPooling="true"
ExceptionHandling="2"
ExceptionHandling="0"
RuntimeLibrary="2"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
WarningLevel="3"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
Expand Down Expand Up @@ -310,13 +311,14 @@
AdditionalIncludeDirectories="..\..\include"
PreprocessorDefinitions="NDEBUG;_WINDOWS"
StringPooling="true"
ExceptionHandling="2"
ExceptionHandling="0"
RuntimeLibrary="2"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
WarningLevel="3"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
Expand Down
4 changes: 3 additions & 1 deletion VisualC/SDL/SDL_VS2010.vcxproj
Expand Up @@ -123,7 +123,7 @@
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<ExceptionHandling>false</ExceptionHandling>
</ClCompile>
<ResourceCompile>
Expand Down Expand Up @@ -162,6 +162,7 @@
<SuppressStartupBanner>true</SuppressStartupBanner>
<CompileAs>Default</CompileAs>
<ExceptionHandling>false</ExceptionHandling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down Expand Up @@ -197,6 +198,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down
4 changes: 3 additions & 1 deletion VisualC/SDL/SDL_VS2012.vcxproj
Expand Up @@ -127,7 +127,7 @@
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<ExceptionHandling>false</ExceptionHandling>
</ClCompile>
<ResourceCompile>
Expand Down Expand Up @@ -166,6 +166,7 @@
<SuppressStartupBanner>true</SuppressStartupBanner>
<CompileAs>Default</CompileAs>
<ExceptionHandling>false</ExceptionHandling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down Expand Up @@ -201,6 +202,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down
14 changes: 12 additions & 2 deletions VisualC/SDLmain/SDLmain_VS2008.vcproj
Expand Up @@ -49,10 +49,12 @@
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
StringPooling="true"
ExceptionHandling="0"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="1"
CompileAs="0"
/>
<Tool
Expand Down Expand Up @@ -114,10 +116,12 @@
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
StringPooling="true"
ExceptionHandling="0"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="1"
CompileAs="0"
/>
<Tool
Expand Down Expand Up @@ -170,6 +174,8 @@
/>
<Tool
Name="VCCLCompilerTool"
ExceptionHandling="0"
DebugInformationFormat="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
Expand Down Expand Up @@ -236,10 +242,12 @@
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,NO_STDIO_REDIRECT"
StringPooling="true"
ExceptionHandling="0"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="1"
CompileAs="0"
/>
<Tool
Expand Down Expand Up @@ -302,10 +310,11 @@
Optimization="0"
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
ExceptionHandling="0"
RuntimeLibrary="3"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="4"
DebugInformationFormat="1"
CompileAs="0"
/>
<Tool
Expand Down Expand Up @@ -366,10 +375,11 @@
Optimization="0"
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
ExceptionHandling="0"
RuntimeLibrary="2"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
DebugInformationFormat="1"
CompileAs="0"
/>
<Tool
Expand Down
4 changes: 4 additions & 0 deletions VisualC/SDLmain/SDLmain_VS2010.vcxproj
Expand Up @@ -85,6 +85,8 @@
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<CompileAs>Default</CompileAs>
<ExceptionHandling>false</ExceptionHandling>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
</ClCompile>
<Lib>
<SuppressStartupBanner>true</SuppressStartupBanner>
Expand All @@ -106,6 +108,7 @@
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<CompileAs>Default</CompileAs>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
</ClCompile>
<Lib>
<SuppressStartupBanner>true</SuppressStartupBanner>
Expand All @@ -124,6 +127,7 @@
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<ExceptionHandling>false</ExceptionHandling>
</ClCompile>
<Lib>
<SuppressStartupBanner>true</SuppressStartupBanner>
Expand Down

0 comments on commit b78818a

Please sign in to comment.