From 92888e8c33bf16b3d98e9807cc2ba83c271b75b6 Mon Sep 17 00:00:00 2001 From: Chad Engler Date: Fri, 27 Mar 2020 18:50:41 -0700 Subject: [PATCH] Add .c++ to a few spots it was missing --- modules/vstudio/vs2010_vcxproj.lua | 6 +++--- modules/xcode/xcode_common.lua | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/vstudio/vs2010_vcxproj.lua b/modules/vstudio/vs2010_vcxproj.lua index 1edf26a1..e6a86326 100644 --- a/modules/vstudio/vs2010_vcxproj.lua +++ b/modules/vstudio/vs2010_vcxproj.lua @@ -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('') p.callArray(m.elements.buildStep, cfg) p.pop('') - + 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) diff --git a/modules/xcode/xcode_common.lua b/modules/xcode/xcode_common.lua index 3dd86ff9..c2c69d50 100644 --- a/modules/xcode/xcode_common.lua +++ b/modules/xcode/xcode_common.lua @@ -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",