summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Berry <jamesberry@google.com>2011-05-06 10:21:12 -0400
committerJames Berry <jamesberry@google.com>2011-05-06 15:35:47 -0400
commit961910268307871a938d3fca73884f2740b84eeb (patch)
treeaf7da898d02e20ba8a3710cd17624830243a3c0b
parent86920e52ea15ab24470abf3f9497f86d9c2a4734 (diff)
downloadlibvpx-bali.tar.gz
make two compiler options explicit for Visual Studio projectsbali
This patch changes the release configuration of MS VS projects to explicitly use two compiler options "Maximize Speed (/O2)" and "Favor fast code(/Ot)". This change was back ported from the master branch, with the additional change to remove a dependency on obj_int_extract.bat Change-Id: Ie059bdf772e0976e480503af28e1756ecf5bb9b9
-rwxr-xr-xbuild/make/gen_msvs_proj.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/make/gen_msvs_proj.sh b/build/make/gen_msvs_proj.sh
index becd95827..075187a0b 100755
--- a/build/make/gen_msvs_proj.sh
+++ b/build/make/gen_msvs_proj.sh
@@ -410,6 +410,8 @@ generate_vcproj() {
tag Tool \
Name="VCCLCompilerTool" \
AdditionalIncludeDirectories="$incs" \
+ Optimization="2" \
+ FavorSizeorSpeed="1" \
PreprocessorDefinitions="WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;$defines" \
RuntimeLibrary="$release_runtime" \
UsePrecompiledHeader="0" \