aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/NorthstarDLL.vcxproj
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2023-02-14 15:04:42 +0100
committerGitHub <noreply@github.com>2023-02-14 14:04:42 +0000
commit9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 (patch)
treedcddfc464a83211a6922a3b2a43ded293b4303b9 /NorthstarDLL/NorthstarDLL.vcxproj
parent95b41b6f8cc612953eafd7f8b6b40124e1590bc7 (diff)
downloadNorthstarLauncher-9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54.tar.gz
NorthstarLauncher-9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54.zip
Force-include `pch.h` to all files, remove explicit includes (#393)
* force-include "pch.h" in all units, as it will error if it's not included anyways * remove #include "pch.h" from all files as it's not needed anymore now * fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error) * Re-add explicit pch.h include to pch.cpp (and ran clang-format) * drop pch.h inclusion from new files
Diffstat (limited to 'NorthstarDLL/NorthstarDLL.vcxproj')
-rw-r--r--NorthstarDLL/NorthstarDLL.vcxproj2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/NorthstarDLL.vcxproj b/NorthstarDLL/NorthstarDLL.vcxproj
index ebbeb375..bb28d575 100644
--- a/NorthstarDLL/NorthstarDLL.vcxproj
+++ b/NorthstarDLL/NorthstarDLL.vcxproj
@@ -63,6 +63,7 @@
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -95,6 +96,7 @@
<AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<Optimization>Disabled</Optimization>
+ <ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>