diff options
author | James Haley | 2012-02-10 02:50:59 +0000 |
---|---|---|
committer | James Haley | 2012-02-10 02:50:59 +0000 |
commit | a8df85b3c6c01d4446b307298f34cd886d606c57 (patch) | |
tree | 8c53743d0ea6f068a7406039508c8226621fc331 | |
parent | 2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e (diff) | |
download | chocolate-doom-a8df85b3c6c01d4446b307298f34cd886d606c57.tar.gz chocolate-doom-a8df85b3c6c01d4446b307298f34cd886d606c57.tar.bz2 chocolate-doom-a8df85b3c6c01d4446b307298f34cd886d606c57.zip |
Make optimization settings consistent (static libraries do not support
function-level linking.....). Also, use similar optimizer settings to
the ones used by Eternity (favor speed over size, intrinsics on, inline
any suitable, link-time code generation, function-level linking *in the
exe only*, omit frame pointers, etc.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2499
-rw-r--r-- | msvc/libopl.vcproj | 8 | ||||
-rw-r--r-- | msvc/libpcsound.vcproj | 8 | ||||
-rw-r--r-- | msvc/libtextscreen.vcproj | 8 | ||||
-rw-r--r-- | msvc/strife.vcproj | 4 |
4 files changed, 23 insertions, 5 deletions
diff --git a/msvc/libopl.vcproj b/msvc/libopl.vcproj index 6c651776..b0480b6c 100644 --- a/msvc/libopl.vcproj +++ b/msvc/libopl.vcproj @@ -103,15 +103,19 @@ <Tool
Name="VCCLCompilerTool"
Optimization="2"
+ InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
- FavorSizeOrSpeed="0"
+ FavorSizeOrSpeed="1"
+ OmitFramePointers="true"
+ WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
StringPooling="true"
MinimalRebuild="false"
ExceptionHandling="0"
RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
+ BufferSecurityCheck="false"
+ EnableFunctionLevelLinking="false"
WarningLevel="3"
DebugInformationFormat="0"
CompileAs="1"
diff --git a/msvc/libpcsound.vcproj b/msvc/libpcsound.vcproj index da6162b5..496f1f69 100644 --- a/msvc/libpcsound.vcproj +++ b/msvc/libpcsound.vcproj @@ -103,11 +103,17 @@ <Tool
Name="VCCLCompilerTool"
Optimization="2"
+ InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="1"
+ OmitFramePointers="true"
+ EnableFiberSafeOptimizations="false"
+ WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
+ BufferSecurityCheck="false"
+ EnableFunctionLevelLinking="false"
WarningLevel="3"
DebugInformationFormat="0"
CompileAs="1"
diff --git a/msvc/libtextscreen.vcproj b/msvc/libtextscreen.vcproj index 1b016597..fc68d46a 100644 --- a/msvc/libtextscreen.vcproj +++ b/msvc/libtextscreen.vcproj @@ -103,15 +103,19 @@ <Tool
Name="VCCLCompilerTool"
Optimization="2"
+ InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
- FavorSizeOrSpeed="0"
+ FavorSizeOrSpeed="1"
+ OmitFramePointers="true"
+ WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..\src"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
StringPooling="true"
MinimalRebuild="false"
ExceptionHandling="0"
RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
+ BufferSecurityCheck="false"
+ EnableFunctionLevelLinking="false"
WarningLevel="0"
DebugInformationFormat="0"
CompileAs="1"
diff --git a/msvc/strife.vcproj b/msvc/strife.vcproj index c4d8f998..df74ab9d 100644 --- a/msvc/strife.vcproj +++ b/msvc/strife.vcproj @@ -124,7 +124,11 @@ <Tool
Name="VCCLCompilerTool"
Optimization="2"
+ InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="1"
+ OmitFramePointers="true"
+ WholeProgramOptimization="true"
AdditionalIncludeDirectories=".;..\src;..\src\strife;..\src\doom;..\textscreen;..\pcsound;..\opl"
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;PROGRAM_PREFIX="\"chocolate-\"""
RuntimeLibrary="2"
|