]> granicus.if.org Git - libvpx/commitdiff
Fix producing vcxproj files with *.S arm assembly files
authorMartin Storsjo <martin@martin.st>
Fri, 4 Nov 2016 10:18:42 +0000 (12:18 +0200)
committerMartin Storsjo <martin@martin.st>
Fri, 4 Nov 2016 10:21:13 +0000 (12:21 +0200)
These cases were leftover in
1ddb4c03622a654452a5e76b5a0e4db715dc350d.

Change-Id: Ie058fb6c78580e60205c47a1d314bd66e794cde4

build/make/gen_msvs_vcxproj.sh

index e3395afa2d23b6b6323d442d9e7c9c823cbf8d80..2cf62c117c2601808e7eaef56c42c770043374e2 100755 (executable)
@@ -82,7 +82,7 @@ generate_filter() {
                        | sed -e "s,$src_path_bare,," \
                              -e 's/^[\./]\+//g' -e 's,[:/ ],_,g')
 
-                if ([ "$pat" == "asm" ] || [ "$pat" == "s" ]) && $asm_use_custom_step; then
+                if ([ "$pat" == "asm" ] || [ "$pat" == "s" ] || [ "$pat" == "S" ]) && $asm_use_custom_step; then
                     # Avoid object file name collisions, i.e. vpx_config.c and
                     # vpx_config.asm produce the same object file without
                     # this additional suffix.
@@ -452,7 +452,7 @@ generate_vcxproj() {
     done
 
     open_tag ItemGroup
-    generate_filter "Source Files"   "c;cc;cpp;def;odl;idl;hpj;bat;asm;asmx;s"
+    generate_filter "Source Files"   "c;cc;cpp;def;odl;idl;hpj;bat;asm;asmx;s;S"
     close_tag ItemGroup
     open_tag ItemGroup
     generate_filter "Header Files"   "h;hm;inl;inc;xsd"