summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorMatt Davies <matthew.davies@sony.com>2020-03-18 12:07:08 (GMT)
committerMatt Davies <matthew.davies@sony.com>2020-03-20 16:16:44 (GMT)
commit53116d39424ac3ec8819aab6710211634be6240e (patch)
treed334286d10ff3f017ff749ff779efd499d249489 /Source/cmVisualStudio10TargetGenerator.h
parent863b0fa2aca3ece98d177f2dbafcad56f7037c8a (diff)
downloadCMake-53116d39424ac3ec8819aab6710211634be6240e.zip
CMake-53116d39424ac3ec8819aab6710211634be6240e.tar.gz
CMake-53116d39424ac3ec8819aab6710211634be6240e.tar.bz2
VS: Use unordered_map to write HLSL settings.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 4977c1a..8e5f29b 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -10,6 +10,7 @@
#include <memory>
#include <set>
#include <string>
+#include <unordered_map>
#include <vector>
class cmComputeLinkInformation;
@@ -236,6 +237,12 @@ private:
using ToolSourceMap = std::map<std::string, ToolSources>;
ToolSourceMap Tools;
+
+ using ConfigToSettings =
+ std::unordered_map<std::string,
+ std::unordered_map<std::string, std::string>>;
+ bool cmPropertyIsSameInAllConfigs(const ConfigToSettings& toolSettings,
+ const std::string& propName);
std::string GetCMakeFilePath(const char* name) const;
};