summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2017-06-22 14:51:44 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2017-06-22 14:51:44 (GMT)
commit54d42ce7287290b1742c5b7326039ee46dd22cfb (patch)
tree07376650ba7e5434985eababa665ee8af03be1c9 /Source/cmVisualStudio10TargetGenerator.cxx
parentd5f7bf9b2e943bf9fe0487d3343d13ccf9375edd (diff)
downloadCMake-54d42ce7287290b1742c5b7326039ee46dd22cfb.zip
CMake-54d42ce7287290b1742c5b7326039ee46dd22cfb.tar.gz
CMake-54d42ce7287290b1742c5b7326039ee46dd22cfb.tar.bz2
Vs: disable unnecessary <ItemDefinitionGroups> for CSharp targets
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index cfe05b8..6d796be 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -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) {