summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorDon Olmstead <don.j.olmstead@gmail.com>2016-10-17 17:50:34 -0700
committerBrad King <brad.king@kitware.com>2016-10-25 09:19:49 -0400
commite2ed9a70929092ab7b32e036886859e53fbff897 (patch)
tree8da37a4d6ab2242391b943421a2080f8db02f8e9 /Source/cmGlobalVisualStudio10Generator.h
parent584ab5285b51945e0dd523caf77342985ac97ce4 (diff)
downloadcmake-e2ed9a70929092ab7b32e036886859e53fbff897.tar.gz
VS: Move toolset flag table lookup to global generator
Move `Get*FlagTable` methods to the global generator and have each VS generator version pre-populate its default flag table.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index ba07a5b368..8418480849 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -89,6 +89,12 @@ public:
static std::string GetInstalledNsightTegraVersion();
+ cmIDEFlagTable const* GetClFlagTable() const;
+ cmIDEFlagTable const* GetRcFlagTable() const;
+ cmIDEFlagTable const* GetLibFlagTable() const;
+ cmIDEFlagTable const* GetLinkFlagTable() const;
+ cmIDEFlagTable const* GetMasmFlagTable() const;
+
protected:
virtual void Generate();
virtual bool InitializeSystem(cmMakefile* mf);
@@ -112,6 +118,11 @@ protected:
std::string SystemName;
std::string SystemVersion;
std::string NsightTegraVersion;
+ cmIDEFlagTable const* DefaultClFlagTable;
+ cmIDEFlagTable const* DefaultLibFlagTable;
+ cmIDEFlagTable const* DefaultLinkFlagTable;
+ cmIDEFlagTable const* DefaultMasmFlagTable;
+ cmIDEFlagTable const* DefaultRcFlagTable;
bool SystemIsWindowsCE;
bool SystemIsWindowsPhone;
bool SystemIsWindowsStore;