summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2011-04-21 13:27:42 -0700
committerYaowu Xu <yaowu@google.com>2011-04-21 13:27:42 -0700
commitddb6edd8317904d96db6c06979f48c1690146f69 (patch)
tree648bc6d06e11e9feedc256bca2f46f8adaa0d58f /build
parent7a49accd0b65453057762929efc7eed93deba043 (diff)
downloadlibvpx-ddb6edd8317904d96db6c06979f48c1690146f69.tar
libvpx-ddb6edd8317904d96db6c06979f48c1690146f69.tar.gz
libvpx-ddb6edd8317904d96db6c06979f48c1690146f69.tar.bz2
libvpx-ddb6edd8317904d96db6c06979f48c1690146f69.zip
make two compiler options explicit for Visual Studio projects
This patch changes the release configuration of MS VS projects to explicitly use two compiler options "Maximize Speed (/O2)" and "Favor fast code(/Ot)". Change-Id: I0bf8343d9ca195851332b91ec69c69ee4e31ce2a
Diffstat (limited to 'build')
-rwxr-xr-xbuild/make/gen_msvs_proj.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/make/gen_msvs_proj.sh b/build/make/gen_msvs_proj.sh
index c2ef44a9b..fb948fd3b 100755
--- a/build/make/gen_msvs_proj.sh
+++ b/build/make/gen_msvs_proj.sh
@@ -447,6 +447,8 @@ generate_vcproj() {
obj_int_extract)
tag Tool \
Name="VCCLCompilerTool" \
+ Optimization="2" \
+ FavorSizeorSpeed="1" \
AdditionalIncludeDirectories="$incs" \
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE" \
RuntimeLibrary="$release_runtime" \
@@ -462,6 +464,8 @@ generate_vcproj() {
tag Tool \
Name="VCCLCompilerTool" \
+ Optimization="2" \
+ FavorSizeorSpeed="1" \
AdditionalIncludeDirectories="$incs" \
PreprocessorDefinitions="WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;$defines" \
RuntimeLibrary="$release_runtime" \
@@ -476,6 +480,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" \