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

Merge "gen_msvs_vcxproj.sh: Add /arch:AVX for files using AVX."

Showing with 4 additions and 0 deletions
...@@ -174,6 +174,10 @@ generate_filter() { ...@@ -174,6 +174,10 @@ generate_filter() {
Include=".\\$f" Include=".\\$f"
# Separate file names with Condition? # Separate file names with Condition?
tag_content ObjectFileName "\$(IntDir)$objf" tag_content ObjectFileName "\$(IntDir)$objf"
# Check for AVX and turn it on to avoid warnings.
if [[ $f =~ avx.?\.c$ ]]; then
tag_content AdditionalOptions "/arch:AVX"
fi
close_tag ClCompile close_tag ClCompile
elif [ "$pat" == "h" ] ; then elif [ "$pat" == "h" ] ; then
tag ClInclude \ tag ClInclude \
......
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