| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 ## | 2 ## |
| 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 4 ## | 4 ## |
| 5 ## Use of this source code is governed by a BSD-style license | 5 ## Use of this source code is governed by a BSD-style license |
| 6 ## that can be found in the LICENSE file in the root of the source | 6 ## that can be found in the LICENSE file in the root of the source |
| 7 ## tree. An additional intellectual property rights grant can be found | 7 ## tree. An additional intellectual property rights grant can be found |
| 8 ## in the file PATENTS. All contributing project authors may | 8 ## in the file PATENTS. All contributing project authors may |
| 9 ## be found in the AUTHORS file in the root of the source tree. | 9 ## be found in the AUTHORS file in the root of the source tree. |
| 10 ## | 10 ## |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 tag Tool \ | 155 tag Tool \ |
| 156 Name="VCCustomBuildTool" \ | 156 Name="VCCustomBuildTool" \ |
| 157 Description="Assembling \$(InputFileName)" \ | 157 Description="Assembling \$(InputFileName)" \ |
| 158 CommandLine="$(eval echo \$asm_${cfg}_cmdline) -
o \$(IntDir)\\$objf" \ | 158 CommandLine="$(eval echo \$asm_${cfg}_cmdline) -
o \$(IntDir)\\$objf" \ |
| 159 Outputs="\$(IntDir)\\$objf" \ | 159 Outputs="\$(IntDir)\\$objf" \ |
| 160 | 160 |
| 161 close_tag FileConfiguration | 161 close_tag FileConfiguration |
| 162 done | 162 done |
| 163 done | 163 done |
| 164 fi | 164 fi |
| 165 if [ "$pat" == "c" ] || [ "$pat" == "cc" ] ; then | 165 if [ "$pat" == "c" ] || \ |
| 166 [ "$pat" == "cc" ] || [ "$pat" == "cpp" ]; then |
| 166 for plat in "${platforms[@]}"; do | 167 for plat in "${platforms[@]}"; do |
| 167 for cfg in Debug Release; do | 168 for cfg in Debug Release; do |
| 168 open_tag FileConfiguration \ | 169 open_tag FileConfiguration \ |
| 169 Name="${cfg}|${plat}" \ | 170 Name="${cfg}|${plat}" \ |
| 170 | 171 |
| 171 tag Tool \ | 172 tag Tool \ |
| 172 Name="VCCLCompilerTool" \ | 173 Name="VCCLCompilerTool" \ |
| 173 ObjectFile="\$(IntDir)\\$objf" \ | 174 ObjectFile="\$(IntDir)\\$objf" \ |
| 174 | 175 |
| 175 close_tag FileConfiguration | 176 close_tag FileConfiguration |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 $link_opts \ | 555 $link_opts \ |
| 555 | 556 |
| 556 ;; | 557 ;; |
| 557 esac | 558 esac |
| 558 | 559 |
| 559 close_tag Configuration | 560 close_tag Configuration |
| 560 done | 561 done |
| 561 close_tag Configurations | 562 close_tag Configurations |
| 562 | 563 |
| 563 open_tag Files | 564 open_tag Files |
| 564 generate_filter srcs "Source Files" "c;cc;def;odl;idl;hpj;bat;asm;asmx" | 565 generate_filter srcs "Source Files" "c;cc;cpp;def;odl;idl;hpj;bat;asm;as
mx" |
| 565 generate_filter hdrs "Header Files" "h;hm;inl;inc;xsd" | 566 generate_filter hdrs "Header Files" "h;hm;inl;inc;xsd" |
| 566 generate_filter resrcs "Resource Files" "rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;
gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" | 567 generate_filter resrcs "Resource Files" "rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;
gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" |
| 567 generate_filter resrcs "Build Files" "mk" | 568 generate_filter resrcs "Build Files" "mk" |
| 568 close_tag Files | 569 close_tag Files |
| 569 | 570 |
| 570 tag Globals | 571 tag Globals |
| 571 close_tag VisualStudioProject | 572 close_tag VisualStudioProject |
| 572 | 573 |
| 573 # This must be done from within the {} subshell | 574 # This must be done from within the {} subshell |
| 574 echo "Ignored files list (${#file_list[@]} items) is:" >&2 | 575 echo "Ignored files list (${#file_list[@]} items) is:" >&2 |
| 575 for f in "${file_list[@]}"; do | 576 for f in "${file_list[@]}"; do |
| 576 echo " $f" >&2 | 577 echo " $f" >&2 |
| 577 done | 578 done |
| 578 } | 579 } |
| 579 | 580 |
| 580 generate_vcproj | | 581 generate_vcproj | |
| 581 sed -e '/"/s;\([^ "]\)/;\1\\;g' > ${outfile} | 582 sed -e '/"/s;\([^ "]\)/;\1\\;g' > ${outfile} |
| 582 | 583 |
| 583 exit | 584 exit |
| 584 <!-- | 585 <!-- |
| 585 TODO: Add any files not captured by filters. | 586 TODO: Add any files not captured by filters. |
| 586 <File | 587 <File |
| 587 RelativePath=".\ReadMe.txt" | 588 RelativePath=".\ReadMe.txt" |
| 588 > | 589 > |
| 589 </File> | 590 </File> |
| 590 --> | 591 --> |
| OLD | NEW |