Reverted to PUBLIC soruces again

This commit is contained in:
2025-12-14 16:46:40 +00:00
parent 004df241b8
commit 2c24cc177b
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ def recurse_cmakelists(path: Path):
if has_headers: if has_headers:
lines.append("target_include_directories(%s PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})"%(CMAKE_TARGET)) lines.append("target_include_directories(%s PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})"%(CMAKE_TARGET))
if len(sources) != 0: if len(sources) != 0:
lines.append("target_sources(%s PRIVATE"%(CMAKE_TARGET)) lines.append("target_sources(%s PUBLIC"%(CMAKE_TARGET))
lines += ["\t%s"%(src.name) for src in sources] lines += ["\t%s"%(src.name) for src in sources]
lines.append(")") lines.append(")")
lines += ["add_subdirectory(%s)"%(directory.name) for directory in dirs] lines += ["add_subdirectory(%s)"%(directory.name) for directory in dirs]

View File

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