Vs: disable unnecessary <ItemDefinitionGroups> for CSharp targets

This commit is contained in:
Michael Stürmer 2017-06-22 16:51:44 +02:00
parent d5f7bf9b2e
commit 54d42ce728

View File

@ -3392,6 +3392,9 @@ void cmVisualStudio10TargetGenerator::WriteMidlOptions(
void cmVisualStudio10TargetGenerator::WriteItemDefinitionGroups()
{
if (this->ProjectType == csproj) {
return;
}
for (std::vector<std::string>::const_iterator i =
this->Configurations.begin();
i != this->Configurations.end(); ++i) {