Sorted CMake recurse order
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
@@ -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 = []
|
||||||
|
|||||||
Reference in New Issue
Block a user