mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05:00
@@ -813,6 +813,7 @@ void cmVisualStudio10TargetGenerator::WriteClassicMsBuildProjectFile(
|
||||
this->WriteCustomCommands(e0);
|
||||
this->WriteAllSources(e0);
|
||||
this->WriteDotNetReferences(e0);
|
||||
this->WriteFrameworkReferences(e0);
|
||||
this->WritePackageReferences(e0);
|
||||
this->WriteImports(e0);
|
||||
this->WriteEmbeddedResourceGroup(e0);
|
||||
@@ -1187,6 +1188,21 @@ void cmVisualStudio10TargetGenerator::WriteDotNetReference(
|
||||
this->WriteDotNetReferenceCustomTags(e2, ref);
|
||||
}
|
||||
|
||||
void cmVisualStudio10TargetGenerator::WriteFrameworkReferences(Elem& e0)
|
||||
{
|
||||
cmList references;
|
||||
if (cmValue vsFrameworkReferences =
|
||||
this->GeneratorTarget->GetProperty("VS_FRAMEWORK_REFERENCES")) {
|
||||
references.assign(*vsFrameworkReferences);
|
||||
}
|
||||
|
||||
Elem e1(e0, "ItemGroup");
|
||||
for (auto const& ref : references) {
|
||||
Elem e2(e1, "FrameworkReference");
|
||||
e2.Attribute("Include", ref);
|
||||
}
|
||||
}
|
||||
|
||||
void cmVisualStudio10TargetGenerator::WriteImports(Elem& e0)
|
||||
{
|
||||
cmValue imports =
|
||||
|
||||
Reference in New Issue
Block a user