summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-04 21:23:52 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-05 14:34:59 (GMT)
commit1b33150f7eff42df9d3f926b078de44681755a1d (patch)
tree8f02255db0c525896027ee6a494ccd6a24356e42 /Source/cmGlobalVisualStudio10Generator.h
parent414b5e0119a99de401e1d7aea61428ec2c9311d5 (diff)
downloadCMake-1b33150f7eff42df9d3f926b078de44681755a1d.zip
CMake-1b33150f7eff42df9d3f926b078de44681755a1d.tar.gz
CMake-1b33150f7eff42df9d3f926b078de44681755a1d.tar.bz2
cmGlobalVisualStudio10Generator: Generalize flag table lookup interface
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index e8f5ab5..df79ad7 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -5,6 +5,9 @@
#include <memory>
#include <set>
+#include <cm/optional>
+#include <cm/string_view>
+
#include "cmGlobalVisualStudio8Generator.h"
/** \class cmGlobalVisualStudio10Generator
@@ -239,6 +242,9 @@ private:
std::string GetMasmFlagTableName() const;
std::string CanonicalToolsetName(std::string const& toolset) const;
+ cm::optional<std::string> FindFlagTable(cm::string_view toolsetName,
+ cm::string_view table) const;
+
std::string CustomVCTargetsPath;
std::string VCTargetsPath;
bool FindVCTargetsPath(cmMakefile* mf);