Hi all,
Is there a way to check in a Build.cs
file if a module exists?
Basically I want to add a module and set a preprocessor flag if the module exists.
The pseudo-code would be something like this:
if(ModuleExists("ModuleName")) // <-- is there a function similar to "ModuleExists" ?
{
PublicDependencyModuleNames.AddRange(new string[]{"ModuleName"});
Definitions.Add("WITH_MODULENAME=1");
}
Thanks!