There are problems with UHT in the preview build, either that or the formatting for build.cs files has changed again.
Module file for my project:
public class HTGame : ModuleRules
{
public HTGame(ReadOnlyTargetRules ROTargetRules) : base(ROTargetRules)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
bEnforceIWYU = true;
PublicIncludePaths.AddRange(new string] { "HT_Game/Public" });
PrivateIncludePaths.AddRange(new string] { "HT_Game/Private" });
Output window:
1>E:\P4\JBaxter_Work\HTGame\HTGame\Source\HTGame\HTGame.Build.cs : warning : Referenced directory 'E:\P4\JBaxter_Work\HTGame\HTGame\Source\HT_Game\Public' does not exist.
1>E:\P4\JBaxter_Work\HTGame\HTGame\Source\HTGame\HTGame.Build.cs : warning : Referenced directory 'E:\P4\JBaxter_Work\HTGame\HTGame\Source\HT_Game\Private' does not exist.
The directory definitely does exist - what’s the problem here?
Edit: Looks like this is no longer needed so I’ve just removed all the IncludePaths, everything seems to work fine so far…