diff options
author | Brad King <brad.king@kitware.com> | 2018-10-08 17:51:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-08 18:03:39 (GMT) |
commit | bb60ed6e724b2891a33f3cd5b6e5aa300dcc4180 (patch) | |
tree | 815be526387f22f1492391446521a66c11ab919a /Source/cmVisualStudio10TargetGenerator.h | |
parent | fd02538974dd952a8639d371c2c0067d30d5469a (diff) | |
download | CMake-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/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index 829d2bf..0dc03b6 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -205,6 +205,7 @@ private: unsigned int NsightTegraVersion[4]; bool TargetCompileAsWinRT; std::set<std::string> IPOEnabledConfigurations; + std::set<std::string> SpectreMitigationConfigurations; cmGlobalVisualStudio10Generator* const GlobalGenerator; cmLocalVisualStudio10Generator* const LocalGenerator; std::set<std::string> CSharpCustomCommandNames; |