Add .c++ to a few spots it was missing

This commit is contained in:
Chad Engler 2020-03-27 18:50:41 -07:00
parent 5b2f92c9ce
commit 92888e8c33
2 changed files with 5 additions and 3 deletions

View File

@ -413,11 +413,11 @@
function m.buildStep(cfg)
if #cfg.buildCommands > 0 or #cfg.buildOutputs > 0 or #cfg.buildInputs > 0 or cfg.buildMessage then
p.push('<CustomBuildStep>')
p.callArray(m.elements.buildStep, cfg)
p.pop('</CustomBuildStep>')
end
end
@ -779,7 +779,7 @@
---
m.categories.ClCompile = {
name = "ClCompile",
extensions = { ".cc", ".cpp", ".cxx", ".c", ".s", ".m", ".mm" },
extensions = { ".cc", ".cpp", ".cxx", ".c++", ".c", ".s", ".m", ".mm" },
priority = 2,
emitFiles = function(prj, group)

View File

@ -29,6 +29,7 @@
[".cc"] = "Sources",
[".cpp"] = "Sources",
[".cxx"] = "Sources",
[".c++"] = "Sources",
[".dylib"] = "Frameworks",
[".framework"] = "Frameworks",
[".m"] = "Sources",
@ -119,6 +120,7 @@
[".cpp"] = "sourcecode.cpp.cpp",
[".css"] = "text.css",
[".cxx"] = "sourcecode.cpp.cpp",
[".c++"] = "sourcecode.cpp.cpp",
[".S"] = "sourcecode.asm.asm",
[".framework"] = "wrapper.framework",
[".gif"] = "image.gif",