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) public CogCommon(ReadOnlyTargetRules Target) : base(Target)
{ {
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; bUseUnity = false;
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange( PublicIncludePaths.AddRange(
new string[] { new string[] {
@@ -1,6 +1,7 @@
#include "CogDebugDrawBlueprint.h" #include "CogDebugDrawBlueprint.h"
#include "CogDebugDraw.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) 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 "CogDebugDrawHelper.h"
#include "Components/LineBatchComponent.h" #include "Components/LineBatchComponent.h"
#include "Kismet/KismetSystemLibrary.h"
namespace namespace
{ {
@@ -2,6 +2,7 @@
#include "CogCommon.h" #include "CogCommon.h"
#include "CogDebugLog.h" #include "CogDebugLog.h"
#include "CogDebugLogCategory.h"
//-------------------------------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------------------------------
void UCogDebugLogBlueprint::Log(const UObject* WorldContextObject, FCogLogCategory LogCategory, ECogLogVerbosity Verbosity, const FString& Text) void UCogDebugLogBlueprint::Log(const UObject* WorldContextObject, FCogLogCategory LogCategory, ECogLogVerbosity Verbosity, const FString& Text)
@@ -1,6 +1,7 @@
#include "CogDebugReplicator.h" #include "CogDebugReplicator.h"
#include "CogDebugDraw.h" #include "CogDebugDraw.h"
#include "CogDebugLog.h"
#include "EngineUtils.h" #include "EngineUtils.h"
#include "GameFramework/PlayerController.h" #include "GameFramework/PlayerController.h"
#include "GameFramework/WorldSettings.h" #include "GameFramework/WorldSettings.h"
@@ -1,5 +1,6 @@
#include "SCogDebugLogCategoryGraphPin.h" #include "SCogDebugLogCategoryGraphPin.h"
#include "CogDebugLogCategory.h"
#include "ScopedTransaction.h" #include "ScopedTransaction.h"
#include "SCogDebugLogCategoryWidget.h" #include "SCogDebugLogCategoryWidget.h"
#include "UObject/CoreRedirects.h" #include "UObject/CoreRedirects.h"
@@ -1,5 +1,6 @@
#include "SCogDebugLogCategoryWidget.h" #include "SCogDebugLogCategoryWidget.h"
#include "CogDebugLog.h"
#include "Misc/TextFilter.h" #include "Misc/TextFilter.h"
#include "SlateOptMacros.h" #include "SlateOptMacros.h"
#include "UObject/UnrealType.h" #include "UObject/UnrealType.h"
@@ -2,6 +2,7 @@
#include "CogCommon.h" #include "CogCommon.h"
#include "CogCommonPossessorInterface.h" #include "CogCommonPossessorInterface.h"
#include "CogEngineDataAsset.h"
#include "GameFramework/PlayerController.h" #include "GameFramework/PlayerController.h"
#include "GameFramework/WorldSettings.h" #include "GameFramework/WorldSettings.h"
#include "EngineUtils.h" #include "EngineUtils.h"