summaryrefslogtreecommitdiff
path: root/build/make/gen_msvs_vcxproj.sh
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2019-10-29 13:08:06 -0400
committerJohann <johannkoenig@google.com>2019-10-29 13:08:06 -0400
commit154da5ba5a1f133c546d49324a26b458a9defa0e (patch)
tree2a046d1e6fec8f99bc69078536071f1897c2623e /build/make/gen_msvs_vcxproj.sh
parent9b73e21c0df8e13259bc9af461a65229d57aeb49 (diff)
downloadlibvpx-154da5ba5a1f133c546d49324a26b458a9defa0e.tar
libvpx-154da5ba5a1f133c546d49324a26b458a9defa0e.tar.gz
libvpx-154da5ba5a1f133c546d49324a26b458a9defa0e.tar.bz2
libvpx-154da5ba5a1f133c546d49324a26b458a9defa0e.zip
remove old visual studio remnants
The oldest supported Visual Studio version has been vs14 since 539dc7649f67ec10097b3c8eb2c0073f0d0571ce. Clean up scripts and remove dead code. Change-Id: I6db5b053a55d7656275d3d48e35d672c8ce22067
Diffstat (limited to 'build/make/gen_msvs_vcxproj.sh')
-rwxr-xr-xbuild/make/gen_msvs_vcxproj.sh32
1 files changed, 3 insertions, 29 deletions
diff --git a/build/make/gen_msvs_vcxproj.sh b/build/make/gen_msvs_vcxproj.sh
index 84515ecff..bddabee6b 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,14,15) of visual studio to generate for
+ --ver=version Version (14,15) 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
@@ -82,7 +82,7 @@ generate_filter() {
| sed -e "s,$src_path_bare,," \
-e 's/^[\./]\+//g' -e 's,[:/ ],_,g')
- if ([ "$pat" == "asm" ] || [ "$pat" == "s" ] || [ "$pat" == "S" ]) && $asm_use_custom_step; then
+ if ([ "$pat" == "asm" ] || [ "$pat" == "s" ] || [ "$pat" == "S" ]) && $uses_asm; then
# Avoid object file name collisions, i.e. vpx_config.c and
# vpx_config.asm produce the same object file without
# this additional suffix.
@@ -168,7 +168,7 @@ for opt in "$@"; do
--ver=*)
vs_ver="$optval"
case "$optval" in
- 10|11|12|14|15)
+ 1[4-5])
;;
*) die Unrecognized Visual Studio Version in $opt
;;
@@ -215,13 +215,7 @@ fix_file_list file_list
outfile=${outfile:-/dev/stdout}
guid=${guid:-`generate_uuid`}
-asm_use_custom_step=false
uses_asm=${uses_asm:-false}
-case "${vs_ver:-11}" in
- 10|11|12|14|15)
- asm_use_custom_step=$uses_asm
- ;;
-esac
[ -n "$name" ] || die "Project name (--name) must be specified!"
[ -n "$target" ] || die "Target (--target) must be specified!"
@@ -339,26 +333,6 @@ generate_vcxproj() {
else
tag_content ConfigurationType StaticLibrary
fi
- if [ "$vs_ver" = "11" ]; then
- if [ "$plat" = "ARM" ]; then
- # Setting the wp80 toolchain automatically sets the
- # WINAPI_FAMILY define, which is required for building
- # code for arm with the windows headers. Alternatively,
- # one could add AppContainerApplication=true in the Globals
- # section and add PrecompiledHeader=NotUsing and
- # CompileAsWinRT=false in ClCompile and SubSystem=Console
- # in Link.
- tag_content PlatformToolset v110_wp80
- else
- tag_content PlatformToolset v110
- fi
- fi
- if [ "$vs_ver" = "12" ]; then
- # Setting a PlatformToolset indicating windows phone isn't
- # enough to build code for arm with MSVC 2013, one strictly
- # has to enable AppContainerApplication as well.
- tag_content PlatformToolset v120
- fi
if [ "$vs_ver" = "14" ]; then
tag_content PlatformToolset v140
fi