Sorted CMake recurse order
This commit is contained in:
@@ -59,7 +59,7 @@ def recurse_cmakelists(path: Path):
|
||||
sources: list[Path] = []
|
||||
has_headers: bool = False
|
||||
|
||||
for child in path.iterdir():
|
||||
for child in sorted(path.iterdir()):
|
||||
if child.is_dir():
|
||||
dirs.append(child)
|
||||
elif any(child.match(ext) for ext in SOURCE_EXTS) and \
|
||||
|
||||
Reference in New Issue
Block a user