cmVisualStudio10TargetGenerator: Adopt Windows Store and Phone infrastructure

Move support for Resx, Xaml, Certificate, and AppManifest file handling
out of cmGeneratorTarget.
This commit is contained in:
Brad King
2020-05-15 07:33:08 -04:00
parent 3fa3b7a402
commit 65fe58a4b4
4 changed files with 119 additions and 147 deletions

View File

@@ -13,10 +13,11 @@
#include <unordered_map>
#include <vector>
#include "cmGeneratorTarget.h"
class cmComputeLinkInformation;
class cmCustomCommand;
class cmGeneratedFileStream;
class cmGeneratorTarget;
class cmGlobalVisualStudio10Generator;
class cmLocalVisualStudio10Generator;
class cmMakefile;
@@ -238,6 +239,14 @@ private:
using ToolSourceMap = std::map<std::string, ToolSources>;
ToolSourceMap Tools;
std::set<std::string> ExpectedResxHeaders;
std::set<std::string> ExpectedXamlHeaders;
std::set<std::string> ExpectedXamlSources;
std::vector<cmSourceFile const*> ResxObjs;
std::vector<cmSourceFile const*> XamlObjs;
void ClassifyAllConfigSources();
void ClassifyAllConfigSource(cmGeneratorTarget::AllConfigSource const& acs);
using ConfigToSettings =
std::unordered_map<std::string,
std::unordered_map<std::string, std::string>>;