summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2018-11-28 15:32:14 (GMT)
committerStephan Szabo <stephan.szabo@sony.com>2018-11-28 15:43:31 (GMT)
commit6d855fbf442d1ab3b209ac9b46f97ad8e567df41 (patch)
treed62e45c60810f43f0d86a7c6e6635165969e759e /Source/cmGlobalVisualStudio10Generator.h
parent9c60ae5f1105d6d793f2693630bf09abb7d66935 (diff)
downloadCMake-6d855fbf442d1ab3b209ac9b46f97ad8e567df41.zip
CMake-6d855fbf442d1ab3b209ac9b46f97ad8e567df41.tar.gz
CMake-6d855fbf442d1ab3b209ac9b46f97ad8e567df41.tar.bz2
Replace header flag tables with json reading
Stop loading flag tables from header files and instead load the flag table information from json files in Templates/MSBuild/FlagTables.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 63e6903..6c4a9e6 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -144,6 +144,9 @@ protected:
std::string const& GetMSBuildCommand();
+ cmIDEFlagTable const* LoadFlagTable(std::string const& flagTableName,
+ std::string const& table) const;
+
std::string GeneratorToolset;
std::string GeneratorToolsetVersion;
std::string GeneratorToolsetHostArchitecture;
@@ -153,15 +156,15 @@ protected:
std::string SystemName;
std::string SystemVersion;
std::string NsightTegraVersion;
- cmIDEFlagTable const* DefaultClFlagTable;
- cmIDEFlagTable const* DefaultCSharpFlagTable;
- cmIDEFlagTable const* DefaultLibFlagTable;
- cmIDEFlagTable const* DefaultLinkFlagTable;
- cmIDEFlagTable const* DefaultCudaFlagTable;
- cmIDEFlagTable const* DefaultCudaHostFlagTable;
- cmIDEFlagTable const* DefaultMasmFlagTable;
- cmIDEFlagTable const* DefaultNasmFlagTable;
- cmIDEFlagTable const* DefaultRcFlagTable;
+ std::string DefaultCLFlagTableName;
+ std::string DefaultCSharpFlagTableName;
+ std::string DefaultLibFlagTableName;
+ std::string DefaultLinkFlagTableName;
+ std::string DefaultCudaFlagTableName;
+ std::string DefaultCudaHostFlagTableName;
+ std::string DefaultMasmFlagTableName;
+ std::string DefaultNasmFlagTableName;
+ std::string DefaultRCFlagTableName;
bool SystemIsWindowsCE;
bool SystemIsWindowsPhone;
bool SystemIsWindowsStore;