mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 12:19:54 -05:00
VS: Add support for XAML source files
XAML files are by default of type Page in the vcxproj and can be overriden by setting the VS_XAML_TYPE property. The .cpp and .h file of the same name are automatically added as depending on the XAML file. New VSXaml test builds a basic XAML WindowsStore 8.1 app with VS2013.
This commit is contained in:
committed by
Brad King
parent
84136c5a83
commit
01a9ab0def
@@ -58,6 +58,12 @@ public:
|
||||
const std::string& config) const;
|
||||
void GetCertificates(std::vector<cmSourceFile const*>&,
|
||||
const std::string& config) const;
|
||||
void GetXamlSources(std::vector<cmSourceFile const*>&,
|
||||
const std::string& config) const;
|
||||
void GetExpectedXamlHeaders(std::set<std::string>&,
|
||||
const std::string& config) const;
|
||||
void GetExpectedXamlSources(std::set<std::string>&,
|
||||
const std::string& config) const;
|
||||
|
||||
void ComputeObjectMapping();
|
||||
|
||||
@@ -132,6 +138,13 @@ public:
|
||||
mutable std::set<std::string> ExpectedResxHeaders;
|
||||
mutable std::vector<cmSourceFile const*> ResxSources;
|
||||
};
|
||||
|
||||
struct XamlData {
|
||||
std::set<std::string> ExpectedXamlHeaders;
|
||||
std::set<std::string> ExpectedXamlSources;
|
||||
std::vector<cmSourceFile const*> XamlSources;
|
||||
};
|
||||
|
||||
private:
|
||||
friend class cmTargetTraceDependencies;
|
||||
struct SourceEntry { std::vector<cmSourceFile*> Depends; };
|
||||
|
||||
Reference in New Issue
Block a user