The Large PCH removal / switch over to Include-What-You-Use (IWYU)

Former-commit-id: ab4d04af5ff02b70692cfdfbb43f68563f89b2a8
This commit is contained in:
mordentral
2017-04-10 14:41:49 -04:00
parent 4388f57f3d
commit ffe6b61b42
52 changed files with 73 additions and 70 deletions

View File

@@ -5,6 +5,9 @@ public class AdvancedSteamSessions : ModuleRules
{
public AdvancedSteamSessions(TargetInfo Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
//bEnforceIWYU = true;
Definitions.Add("WITH_ADVANCED_STEAM_SESSIONS=1");
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystem", "CoreUObject", "OnlineSubsystemUtils", "Networking", "Sockets", "AdvancedSessions"/*"Voice", "OnlineSubsystemSteam"*/ });

View File

@@ -1,7 +1,8 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "OnlineSubSystemHeader.h"
#include "CoreMinimal.h"
#include "BlueprintDataDefinitions.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Online.h"
#include "OnlineSubsystem.h"

View File

@@ -1,6 +1,6 @@
#pragma once
#include "OnlineSubSystemHeader.h"
#include "CoreMinimal.h"
#include "ModuleManager.h"
class AdvancedSteamSessions : public IModuleInterface

View File

@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "OnlineSubSystemHeader.h"
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Online.h"
#include "OnlineSubsystem.h"

View File

@@ -1,6 +1,8 @@
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
// This is taken directly from UE4 - OnlineSubsystemSteamPrivatePCH.h as a fix for the array_count macro
// @todo Steam: Steam headers trigger secure-C-runtime warnings in Visual C++. Rather than mess with _CRT_SECURE_NO_WARNINGS, we'll just

View File

@@ -1,7 +1,6 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "OnlineSubSystemHeader.h"
#include "AdvancedSteamFriendsLibrary.h"
#include "OnlineSubSystemHeader.h"
// This is taken directly from UE4 - OnlineSubsystemSteamPrivatePCH.h as a fix for the array_count macro

View File

@@ -1,7 +1,6 @@
//#include "StandAlonePrivatePCH.h"
#include "OnlineSubSystemHeader.h"
#include "AdvancedSteamSessions.h"
void AdvancedSteamSessions::StartupModule()
{
}

View File

@@ -1,6 +1,6 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "OnlineSubSystemHeader.h"
#include "AdvancedSteamWorkshopLibrary.h"
#include "OnlineSubSystemHeader.h"
//General Log
DEFINE_LOG_CATEGORY(AdvancedSteamWorkshopLog);

View File

@@ -1,7 +1,7 @@
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "OnlineSubSystemHeader.h"
#include "SteamWSRequestUGCDetailsCallbackProxy.h"
#include "OnlineSubSystemHeader.h"
//////////////////////////////////////////////////////////////////////////
// UEndSessionCallbackProxy