mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
Merge topic 'vs-non-built-file-item-metadata'
0723e04f7aVS: Add documentation for VS_SETTINGS and VS_SOURCE_SETTINGS_<tool>.2ca1102f83VS: Test VS_SETTINGS and VS_SOURCE_SETTINGS_<tool> properties.f00e1b816dVS: Add VS_SOURCE_SETTINGS_<tool> target property2ce42f281fVS: Add VS_SETTINGS source file property53116d3942VS: Use unordered_map to write HLSL settings. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4498
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
class cmComputeLinkInformation;
|
||||
@@ -234,6 +235,15 @@ private:
|
||||
|
||||
using ToolSourceMap = std::map<std::string, ToolSources>;
|
||||
ToolSourceMap Tools;
|
||||
|
||||
using ConfigToSettings =
|
||||
std::unordered_map<std::string,
|
||||
std::unordered_map<std::string, std::string>>;
|
||||
std::unordered_map<std::string, ConfigToSettings> ParsedToolTargetSettings;
|
||||
bool PropertyIsSameInAllConfigs(const ConfigToSettings& toolSettings,
|
||||
const std::string& propName);
|
||||
void ParseSettingsProperty(const char* settingsPropertyValue,
|
||||
ConfigToSettings& toolSettings);
|
||||
std::string GetCMakeFilePath(const char* name) const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user