summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 55b113297..0696201df 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -43,7 +43,7 @@ if (MSVC)
43 /Zo 43 /Zo
44 /permissive- 44 /permissive-
45 /EHsc 45 /EHsc
46 /std:c++latest 46 /std:c++20
47 /utf-8 47 /utf-8
48 /volatile:iso 48 /volatile:iso
49 /Zc:externConstexpr 49 /Zc:externConstexpr
@@ -51,8 +51,10 @@ if (MSVC)
51 /Zc:throwingNew 51 /Zc:throwingNew
52 /GT 52 /GT
53 53
54 # Modules
55 /experimental:module- # Disable module support explicitly due to conflicts with precompiled headers
56
54 # External headers diagnostics 57 # External headers diagnostics
55 /experimental:external # Enables the external headers options. This option isn't required in Visual Studio 2019 version 16.10 and later
56 /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers 58 /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers
57 /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers 59 /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers
58 60