Updated new_source tool to respect a modules set C++ namespace. Fixed generation of modules with templates without config.json.

This commit is contained in:
2025-06-19 16:48:28 +02:00
parent 9bfbd44e34
commit b1c461387f
5 changed files with 43 additions and 5 deletions

View File

@@ -112,7 +112,10 @@ def load_template_config() -> None:
global _template_config
config_file = _template_folder / 'config.json'
if not config_file.exists():
_template_config = {}
_template_config = _TemplateConfig(
options=[],
new_sources=[]
)
return
with config_file.open('r') as f:
try: