summaryrefslogtreecommitdiff
path: root/msvc/strife.vcproj
diff options
context:
space:
mode:
authorJames Haley2012-02-10 02:50:59 +0000
committerJames Haley2012-02-10 02:50:59 +0000
commita8df85b3c6c01d4446b307298f34cd886d606c57 (patch)
tree8c53743d0ea6f068a7406039508c8226621fc331 /msvc/strife.vcproj
parent2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e (diff)
downloadchocolate-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
Diffstat (limited to 'msvc/strife.vcproj')
-rw-r--r--msvc/strife.vcproj4
1 files changed, 4 insertions, 0 deletions
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=&quot;\&quot;chocolate-\&quot;&quot;"
RuntimeLibrary="2"