summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorMatt Davies <matthew.davies@sony.com>2020-03-18 12:25:02 (GMT)
committerMatt Davies <matthew.davies@sony.com>2020-03-20 16:16:58 (GMT)
commit2ce42f281fb5403cad398e886f0138d60f6a1dae (patch)
tree0911f8879b42399db696967f4f925c14b428d6e9 /Source/cmVisualStudio10TargetGenerator.h
parent53116d39424ac3ec8819aab6710211634be6240e (diff)
downloadCMake-2ce42f281fb5403cad398e886f0138d60f6a1dae.zip
CMake-2ce42f281fb5403cad398e886f0138d60f6a1dae.tar.gz
CMake-2ce42f281fb5403cad398e886f0138d60f6a1dae.tar.bz2
VS: Add VS_SETTINGS source file property
VS_SETTINGS is a list of key value pairs that get written as item metadata for the associated non-built file. The entire value of VS_SETTINGS is evaluated as a generator expression.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 8e5f29b..790811b 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -241,8 +241,10 @@ private:
using ConfigToSettings =
std::unordered_map<std::string,
std::unordered_map<std::string, std::string>>;
- bool cmPropertyIsSameInAllConfigs(const ConfigToSettings& toolSettings,
- const std::string& propName);
+ bool PropertyIsSameInAllConfigs(const ConfigToSettings& toolSettings,
+ const std::string& propName);
+ void ParseSettingsProperty(const char* settingsPropertyValue,
+ ConfigToSettings& toolSettings);
std::string GetCMakeFilePath(const char* name) const;
};