Merge topic 'vs9-target-framework-version'
0698714
VS: Set .NET target framework version for VS 7-9 (#14499)
This commit is contained in:
commit
d8fe9f9de7
|
@ -2050,6 +2050,11 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout,
|
|||
fout << "\tProjectGUID=\"{" << gg->GetGUID(libName) << "}\"\n";
|
||||
}
|
||||
this->WriteProjectSCC(fout, target);
|
||||
if(const char* targetFrameworkVersion =
|
||||
target.GetProperty("VS_DOTNET_TARGET_FRAMEWORK_VERSION"))
|
||||
{
|
||||
fout << "\tTargetFrameworkVersion=\"" << targetFrameworkVersion << "\"\n";
|
||||
}
|
||||
fout << "\tKeyword=\"" << keyword << "\">\n"
|
||||
<< "\t<Platforms>\n"
|
||||
<< "\t\t<Platform\n\t\t\tName=\"" << this->PlatformName << "\"/>\n"
|
||||
|
|
Loading…
Reference in New Issue