From c5ecf8f6c612d8bebacf07cdc2fab8dc8069a660 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Fri, 23 Aug 2013 22:21:18 +0200 Subject: [PATCH] Handle *.c++ files in gen_build We already handle these when mapping extension to file type. --- bin/gen_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gen_build b/bin/gen_build index 2f8dacf8..1e3acc2b 100755 --- a/bin/gen_build +++ b/bin/gen_build @@ -231,7 +231,7 @@ def sources(target) target['SOURCES'].each do |path| src = File.join(target[:path], path) case src - when /^(.*)\.(c|cc|m|mm)$/ then + when /^(.*)\.(c|cc|c\+\+|m|mm)$/ then base, ext = $1, $2 cc = compiler_for(src) dst = build_path("#{base}.o")