meson: include .cc files in tags too

We only have one, but it seems reasonable to not exclude it.
Result tested with emacs.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-05 09:33:12 +02:00
parent c4a090d60e
commit ba9ca60a88

View file

@ -4726,7 +4726,7 @@ if git.found()
all_files = run_command( all_files = run_command(
env, '-u', 'GIT_WORK_TREE', env, '-u', 'GIT_WORK_TREE',
git, '--git-dir=@0@/.git'.format(project_source_root), git, '--git-dir=@0@/.git'.format(project_source_root),
'ls-files', ':/*.[ch]', 'ls-files', ':/*.[ch]', ':/*.cc',
check : false) check : false)
if all_files.returncode() == 0 if all_files.returncode() == 0
all_files = files(all_files.stdout().split()) all_files = files(all_files.stdout().split())