mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Handle *.c++ files in gen_build
We already handle these when mapping extension to file type.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user