mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
msvc: use external header feature solution-wide
Add external include paths to ExternalIncludePath instead of AdditionalIncludeDirectories. msbuild appends these paths to EXTERNAL_INCLUDE env var, which is passed to /external:env:. Specify /external:W0 and /external:templates-, with override for DolphinQt for the template flag, since Qt 5.15.0 causes some warnings in qmap.h
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
#define STRINGIFY_HELPER(x) #x
|
||||
#define STRINGIFY(x) STRINGIFY_HELPER(x)
|
||||
|
||||
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192829335
|
||||
#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192930037
|
||||
#pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER))
|
||||
#error Please update your build environment to the latest Visual Studio 2019!
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user