Restored empty CMakeLists.txt
This commit is contained in:
@@ -80,11 +80,9 @@ def recurse_cmakelists(path: Path):
|
||||
lines.append(")")
|
||||
lines += ["add_subdirectory(%s)"%(directory.name) for directory in dirs]
|
||||
|
||||
# Write CMakeLists if not empty
|
||||
if len(lines) != 0:
|
||||
lists_path = path / "CMakeLists.txt"
|
||||
with open(lists_path, "w") as of:
|
||||
of.write("\n".join(lines)+"\n")
|
||||
lists_path = path / "CMakeLists.txt"
|
||||
with open(lists_path, "w") as of:
|
||||
of.write("\n".join(lines)+"\n")
|
||||
|
||||
# Recurse
|
||||
for directory in dirs:
|
||||
|
||||
Reference in New Issue
Block a user