From b39a11e23b60a3ed5960b09982f0db5df9a9be5b Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 21 Jun 2022 13:35:14 -0700 Subject: [PATCH] msbuild: add pch for dolphinqt since this now includes Qt headers it's better than only using the vanilla DolphinLib one alone (previous behavior before Qt6) --- Source/Core/DolphinQt/DolphinQt.vcxproj | 17 +++++++++++++---- Source/Core/DolphinQt/pch_qt.cpp | 1 + Source/Core/DolphinQt/pch_qt.h | 14 ++++++++++++++ 3 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 Source/Core/DolphinQt/pch_qt.cpp create mode 100644 Source/Core/DolphinQt/pch_qt.h diff --git a/Source/Core/DolphinQt/DolphinQt.vcxproj b/Source/Core/DolphinQt/DolphinQt.vcxproj index 4991ec9e54..e6df0c3122 100644 --- a/Source/Core/DolphinQt/DolphinQt.vcxproj +++ b/Source/Core/DolphinQt/DolphinQt.vcxproj @@ -30,6 +30,12 @@ $(ProjectDir)Settings;%(AdditionalIncludeDirectories) $(ProjectDir)TAS;%(AdditionalIncludeDirectories) $(ProjectDir)VideoInterface;%(AdditionalIncludeDirectories) + + + $(SourceDir)PCH;%(AdditionalIncludeDirectories) + Use + pch_qt.h + pch_qt.h DolphinQt.manifest;%(AdditionalManifestFiles) @@ -52,10 +58,10 @@ - + @@ -83,8 +89,8 @@ - + @@ -155,6 +161,9 @@ + + Create + @@ -390,8 +399,8 @@ {0e033be3-2e08-428e-9ae9-bc673efa12b5} {76563A7F-1011-4EAD-B667-7BB18D09568E} diff --git a/Source/Core/DolphinQt/pch_qt.cpp b/Source/Core/DolphinQt/pch_qt.cpp new file mode 100644 index 0000000000..7ca10757a2 --- /dev/null +++ b/Source/Core/DolphinQt/pch_qt.cpp @@ -0,0 +1 @@ +#include "pch_qt.h" diff --git a/Source/Core/DolphinQt/pch_qt.h b/Source/Core/DolphinQt/pch_qt.h new file mode 100644 index 0000000000..649a467e3e --- /dev/null +++ b/Source/Core/DolphinQt/pch_qt.h @@ -0,0 +1,14 @@ +#pragma once + +#include "pch.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include