Fix the build in no unity

This commit is contained in:
Arnaud Jamin
2023-10-27 02:56:10 -04:00
parent e72504b47a
commit 9a1fe2a348
8 changed files with 9 additions and 1 deletions
@@ -4,7 +4,8 @@ public class CogCommon : ModuleRules
{
public CogCommon(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
bUseUnity = false;
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(
new string[] {
@@ -1,6 +1,7 @@
#include "CogDebugDrawBlueprint.h"
#include "CogDebugDraw.h"
#include "CogDebugLogCategory.h"
//--------------------------------------------------------------------------------------------------------------------------
void UCogDebugDrawBlueprint::DebugDrawString(const UObject* WorldContextObject, FCogLogCategory LogCategory, const FString& Text, const FVector Location, const FLinearColor Color, bool Persistent)
@@ -1,6 +1,7 @@
#include "CogDebugDrawHelper.h"
#include "Components/LineBatchComponent.h"
#include "Kismet/KismetSystemLibrary.h"
namespace
{
@@ -2,6 +2,7 @@
#include "CogCommon.h"
#include "CogDebugLog.h"
#include "CogDebugLogCategory.h"
//--------------------------------------------------------------------------------------------------------------------------
void UCogDebugLogBlueprint::Log(const UObject* WorldContextObject, FCogLogCategory LogCategory, ECogLogVerbosity Verbosity, const FString& Text)
@@ -1,6 +1,7 @@
#include "CogDebugReplicator.h"
#include "CogDebugDraw.h"
#include "CogDebugLog.h"
#include "EngineUtils.h"
#include "GameFramework/PlayerController.h"
#include "GameFramework/WorldSettings.h"
@@ -1,5 +1,6 @@
#include "SCogDebugLogCategoryGraphPin.h"
#include "CogDebugLogCategory.h"
#include "ScopedTransaction.h"
#include "SCogDebugLogCategoryWidget.h"
#include "UObject/CoreRedirects.h"
@@ -1,5 +1,6 @@
#include "SCogDebugLogCategoryWidget.h"
#include "CogDebugLog.h"
#include "Misc/TextFilter.h"
#include "SlateOptMacros.h"
#include "UObject/UnrealType.h"
@@ -2,6 +2,7 @@
#include "CogCommon.h"
#include "CogCommonPossessorInterface.h"
#include "CogEngineDataAsset.h"
#include "GameFramework/PlayerController.h"
#include "GameFramework/WorldSettings.h"
#include "EngineUtils.h"