Sorted CMake recurse order

This commit is contained in:
2025-11-21 15:30:08 +00:00
parent 7419088a5c
commit 9ff5caf1e0
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ def recurse_cmakelists(path: Path):
sources: list[Path] = [] sources: list[Path] = []
has_headers: bool = False has_headers: bool = False
for child in path.iterdir(): for child in sorted(path.iterdir()):
if child.is_dir(): if child.is_dir():
dirs.append(child) dirs.append(child)
elif any(child.match(ext) for ext in SOURCE_EXTS) and \ elif any(child.match(ext) for ext in SOURCE_EXTS) and \

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "mx_convert" name = "mx_convert"
version = "0.5.0" version = "0.5.1"
description = "A Cube MX projct conversion helper" description = "A Cube MX projct conversion helper"
authors = [{ name = "Didas72" }] authors = [{ name = "Didas72" }]
dependencies = [] dependencies = []