added config files argument

This commit is contained in:
Rob1103 2023-01-02 16:02:41 +01:00
parent 53aeeba760
commit 820e00c0ba

View file

@ -209,7 +209,8 @@ func findSourcesFiles(workspace string) ([]string, error) {
} }
ext := filepath.Ext(info.Name()) ext := filepath.Ext(info.Name())
if ext == ".c" || ext == ".cpp" { if ext == ".c" || ext == ".cpp" || ext == ".cc" || ext == ".h" || ext == ".hpp" ||
ext == ".hcc" {
filenames = append(filenames, path) filenames = append(filenames, path)
} }
return nil return nil