Handle *.c++ files in gen_build

We already handle these when mapping extension to file type.
This commit is contained in:
Allan Odgaard
2013-08-23 22:21:18 +02:00
parent 97c7a01fe1
commit c5ecf8f6c6

View File

@@ -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")