Skip to content

Commit

Permalink
gyp: add support for .mm files to msvs generator
Browse files Browse the repository at this point in the history
PR-URL: #1167
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
jracle authored and bnoordhuis committed Jun 8, 2018
1 parent dd8561e commit 53a5f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyp/pylib/gyp/generator/msvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ def _MapFileToMsBuildSourceType(source, rule_dependencies,
if ext in extension_to_rule_name:
group = 'rule'
element = extension_to_rule_name[ext]
elif ext in ['.cc', '.cpp', '.c', '.cxx']:
elif ext in ['.cc', '.cpp', '.c', '.cxx', '.mm']:
group = 'compile'
element = 'ClCompile'
elif ext in ['.h', '.hxx']:
Expand Down

0 comments on commit 53a5f8f

Please sign in to comment.