From 9ff5caf1e0da4501f97327fde5ffdf6c15a1082c Mon Sep 17 00:00:00 2001 From: Didas72 Date: Fri, 21 Nov 2025 15:30:08 +0000 Subject: [PATCH] Sorted CMake recurse order --- mx_convert/mx_convert.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mx_convert/mx_convert.py b/mx_convert/mx_convert.py index 935e186..542ebbf 100644 --- a/mx_convert/mx_convert.py +++ b/mx_convert/mx_convert.py @@ -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 \ diff --git a/pyproject.toml b/pyproject.toml index 45b2027..98a7ed8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mx_convert" -version = "0.5.0" +version = "0.5.1" description = "A Cube MX projct conversion helper" authors = [{ name = "Didas72" }] dependencies = []