Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 310 Bytes
require 'rubygems'
load 'Rakefile'
INCLUDE_CHAR = "-I"
paths =
CFLAGS.split( INCLUDE_CHAR ).collect do |path|
if( not path.empty? )
clean_string = path.lstrip.rstrip
clean_string += "/*"
end
end.compact
system( "ctags -R --c++-kinds=+p --fields=+iaS --extra=+q #{paths.join(' ')}" )