Restored empty CMakeLists.txt
This commit is contained in:
@@ -80,11 +80,9 @@ def recurse_cmakelists(path: Path):
|
|||||||
lines.append(")")
|
lines.append(")")
|
||||||
lines += ["add_subdirectory(%s)"%(directory.name) for directory in dirs]
|
lines += ["add_subdirectory(%s)"%(directory.name) for directory in dirs]
|
||||||
|
|
||||||
# Write CMakeLists if not empty
|
lists_path = path / "CMakeLists.txt"
|
||||||
if len(lines) != 0:
|
with open(lists_path, "w") as of:
|
||||||
lists_path = path / "CMakeLists.txt"
|
of.write("\n".join(lines)+"\n")
|
||||||
with open(lists_path, "w") as of:
|
|
||||||
of.write("\n".join(lines)+"\n")
|
|
||||||
|
|
||||||
# Recurse
|
# Recurse
|
||||||
for directory in dirs:
|
for directory in dirs:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mx_convert"
|
name = "mx_convert"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
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