summaryrefslogtreecommitdiff
path: root/build/make/gen_msvs_vcxproj.sh
diff options
context:
space:
mode:
authorGhislain MARY <ghislainmary2@gmail.com>2015-07-28 16:37:09 +0200
committerJames Zern <jzern@google.com>2015-08-05 14:45:16 -0700
commit3067c34c5ae5ea94fc4b059a26c385408912e9ce (patch)
treeaaf7a3cad9629dac1fb97321626b3f8f0610e2db /build/make/gen_msvs_vcxproj.sh
parent23591322cfe8f9e88d150ff737e0773293012f32 (diff)
downloadlibvpx-3067c34c5ae5ea94fc4b059a26c385408912e9ce.tar
libvpx-3067c34c5ae5ea94fc4b059a26c385408912e9ce.tar.gz
libvpx-3067c34c5ae5ea94fc4b059a26c385408912e9ce.tar.bz2
libvpx-3067c34c5ae5ea94fc4b059a26c385408912e9ce.zip
Support build with Visual Studio 14.
Change-Id: Id0d7c19857e29b66c652c8cc1ab56b64e4fc0fa3
Diffstat (limited to 'build/make/gen_msvs_vcxproj.sh')
-rwxr-xr-xbuild/make/gen_msvs_vcxproj.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/make/gen_msvs_vcxproj.sh b/build/make/gen_msvs_vcxproj.sh
index b65365103..182ea28fa 100755
--- a/build/make/gen_msvs_vcxproj.sh
+++ b/build/make/gen_msvs_vcxproj.sh
@@ -34,7 +34,7 @@ Options:
--name=project_name Name of the project (required)
--proj-guid=GUID GUID to use for the project
--module-def=filename File containing export definitions (for DLLs)
- --ver=version Version (10,11,12) of visual studio to generate for
+ --ver=version Version (10,11,12,14) of visual studio to generate for
--src-path-bare=dir Path to root of source tree
-Ipath/to/include Additional include directories
-DFLAG[=value] Preprocessor macros to define
@@ -168,7 +168,7 @@ for opt in "$@"; do
--ver=*)
vs_ver="$optval"
case "$optval" in
- 10|11|12)
+ 10|11|12|14)
;;
*) die Unrecognized Visual Studio Version in $opt
;;
@@ -218,7 +218,7 @@ guid=${guid:-`generate_uuid`}
asm_use_custom_step=false
uses_asm=${uses_asm:-false}
case "${vs_ver:-11}" in
- 10|11|12)
+ 10|11|12|14)
asm_use_custom_step=$uses_asm
;;
esac
@@ -344,6 +344,9 @@ generate_vcxproj() {
# has to enable AppContainerApplication as well.
tag_content PlatformToolset v120
fi
+ if [ "$vs_ver" = "14" ]; then
+ tag_content PlatformToolset v140
+ fi
tag_content CharacterSet Unicode
if [ "$config" = "Release" ]; then
tag_content WholeProgramOptimization true