Commit f0a6a604 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "gen_msvs_vcxproj.sh: Avoid object name collisions."

Showing with 4 additions and 0 deletions
...@@ -156,6 +156,10 @@ generate_filter() { ...@@ -156,6 +156,10 @@ generate_filter() {
objf=$(echo ${f%.*}.obj | sed -e 's/^[\./]\+//g' -e 's,/,_,g') objf=$(echo ${f%.*}.obj | sed -e 's/^[\./]\+//g' -e 's,/,_,g')
if ([ "$pat" == "asm" ] || [ "$pat" == "s" ]) && $asm_use_custom_step; then if ([ "$pat" == "asm" ] || [ "$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.
objf=${objf%.obj}_asm.obj
open_tag CustomBuild \ open_tag CustomBuild \
Include=".\\$f" Include=".\\$f"
for plat in "${platforms[@]}"; do for plat in "${platforms[@]}"; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment