diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a41423895..ed94e5d4e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -45,6 +45,11 @@ if (MSVC) | |||
| 45 | /Zc:inline | 45 | /Zc:inline |
| 46 | /Zc:throwingNew | 46 | /Zc:throwingNew |
| 47 | 47 | ||
| 48 | # External headers diagnostics | ||
| 49 | /experimental:external # Enables the external headers options. This option isn't required in Visual Studio 2019 version 16.10 and later | ||
| 50 | /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers | ||
| 51 | /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers | ||
| 52 | |||
| 48 | # Warnings | 53 | # Warnings |
| 49 | /W3 | 54 | /W3 |
| 50 | /we4018 # 'expression': signed/unsigned mismatch | 55 | /we4018 # 'expression': signed/unsigned mismatch |