(module_name: &str)
| 6999 | } |
| 7000 | |
| 7001 | fn generate_build_cs_content(module_name: &str) -> String { |
| 7002 | format!( |
| 7003 | r#"using UnrealBuildTool; |
| 7004 | |
| 7005 | public class {module_name} : ModuleRules |
| 7006 | {{ |
| 7007 | public {module_name}(ReadOnlyTargetRules Target) : base(Target) |
| 7008 | {{ |
| 7009 | PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; |
| 7010 | |
| 7011 | PublicDependencyModuleNames.AddRange(new string[] {{ |
| 7012 | "Core", |
| 7013 | "CoreUObject", |
| 7014 | "Engine", |
| 7015 | "SpacetimeDbSdk" |
| 7016 | }}); |
| 7017 | |
| 7018 | PrivateDependencyModuleNames.AddRange(new string[] {{ |
| 7019 | }}); |
| 7020 | }} |
| 7021 | }} |
| 7022 | "#, |
| 7023 | module_name = module_name |
| 7024 | ) |
| 7025 | } |
| 7026 | |
| 7027 | fn generate_module_cpp_content(module_name: &str) -> String { |
| 7028 | format!( |
no outgoing calls
no test coverage detected
searching dependent graphs…