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.
This commit is contained in:
Matt Davies
2020-03-18 12:25:02 +00:00
parent 53116d3942
commit 2ce42f281f
2 changed files with 36 additions and 4 deletions

View File

@@ -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;
};