Merge pull request #1415 from englercj/c++-ext-support
Add .c++ extension support to a few spots it was missing
This commit is contained in:
commit
c4f36032cc
@ -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)
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user