cmake: fix MSVC PCH support

I'm not sure if the previous implementation ever worked.
This commit is contained in:
Scott Mansell
2022-04-27 18:57:13 +12:00
committed by Admiral H. Curtiss
parent 2348017ee8
commit 0909e00117
5 changed files with 37 additions and 6 deletions

4
Source/PCH/nopch/pch.h Normal file
View File

@ -0,0 +1,4 @@
// dummy include to help with disabling pch for a single file
// cmake doesn't provide a clean way to disable MSVC's force include option
// So we can just point it at an empty file instead.