(path: str, glob_pattern: str, excludes: set[str] = set())
| 52 | |
| 53 | |
| 54 | def glob_in_path(path: str, glob_pattern: str, excludes: set[str] = set()): # noqa: B006 |
| 55 | srcdir = utils.path_from_root(path) |
| 56 | files = iglob(os.path.join(srcdir, glob_pattern), recursive=True) |
| 57 | return sorted(f for f in files if os.path.basename(f) not in excludes) |
| 58 | |
| 59 | |
| 60 | def get_base_cflags(build_dir, force_object_files=False, preprocess=True): |
no test coverage detected