summaryrefslogtreecommitdiffstats
path: root/Source/cmVS141CLFlagTable.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-08 17:51:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-08 18:03:39 (GMT)
commitbb60ed6e724b2891a33f3cd5b6e5aa300dcc4180 (patch)
tree815be526387f22f1492391446521a66c11ab919a /Source/cmVS141CLFlagTable.h
parentfd02538974dd952a8639d371c2c0067d30d5469a (diff)
downloadCMake-bb60ed6e724b2891a33f3cd5b6e5aa300dcc4180.zip
CMake-bb60ed6e724b2891a33f3cd5b6e5aa300dcc4180.tar.gz
CMake-bb60ed6e724b2891a33f3cd5b6e5aa300dcc4180.tar.bz2
VS: Add flag table entry for -Qspectre
Add special logic to map this flag to a top-level build setting instead of being in ClCompile. Fixes: #18426
Diffstat (limited to 'Source/cmVS141CLFlagTable.h')
-rw-r--r--Source/cmVS141CLFlagTable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVS141CLFlagTable.h b/Source/cmVS141CLFlagTable.h
index 7d3e356..2a9944a 100644
--- a/Source/cmVS141CLFlagTable.h
+++ b/Source/cmVS141CLFlagTable.h
@@ -83,6 +83,8 @@ static cmVS7FlagTable cmVS141CLFlagTable[] = {
{ "FloatingPointModel", "fp:strict", "Strict", "Strict", 0 },
{ "FloatingPointModel", "fp:fast", "Fast", "Fast", 0 },
+ { "SpectreMitigation", "Qspectre", "Spectre mitigations", "Spectre", 0 },
+
{ "LanguageStandard", "std:c++17", "ISO C++17 Standard", "stdcpp17", 0 },
{ "LanguageStandard", "std:c++14", "ISO C++14 Standard", "stdcpp14", 0 },
{ "LanguageStandard", "std:c++latest", "ISO C++ Latest Draft Standard",