Refactor engine configuration to support platform-specific namespaces in config files

This commit is contained in:
Wojtek Figat
2026-03-26 23:27:51 +01:00
parent 557dc9b649
commit 78052fbaec
24 changed files with 196 additions and 82 deletions

View File

@@ -85,6 +85,11 @@ namespace Flax.Build
{
CommandLine.Configure(typeof(EngineConfiguration), engineProject.Configuration);
CommandLine.Configure(typeof(Configuration), engineProject.Configuration);
CommandLine.ConfigureChild(typeof(WindowsConfiguration), engineProject.Configuration, "Windows");
CommandLine.ConfigureChild(typeof(LinuxConfiguration), engineProject.Configuration, "Linux");
CommandLine.ConfigureChild(typeof(MacConfiguration), engineProject.Configuration, "Mac");
CommandLine.ConfigureChild(typeof(iOSConfiguration), engineProject.Configuration, "iOS");
CommandLine.ConfigureChild(typeof(WebConfiguration), engineProject.Configuration, "Web");
}
CommandLine.Configure(typeof(EngineConfiguration));
}