diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-28 18:48:40 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-29 10:43:32 -0400 |
commit | a1209be550172a95d3254158c121abf184e60bcd (patch) | |
tree | df04eb1daa163880a22c0862a83f7d85f5932289 /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | 32e4f6beca6f13165ec5a40bf363d005ebda9263 (diff) | |
download | cmake-a1209be550172a95d3254158c121abf184e60bcd.tar.gz |
VisualStudio: Skip global targets when processing.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index 1d583eb530..d6973aa650 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -108,6 +108,10 @@ void cmGlobalVisualStudioGenerator::Generate() for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t) { + if (t->second.GetType() == cmTarget::GLOBAL_TARGET) + { + continue; + } if(!this->IsExcluded(gen[0], t->second)) { allBuild->AddUtility(t->second.GetName()); |