summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-06 19:13:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-11-06 19:13:32 (GMT)
commitc79023ceffb20b80a9a6e0b429330c32e4197cd7 (patch)
tree527ffca2d3759ec5b725fce59ebedf7155aecd39
parentb24ebfa1570275929c047c2fcac3f358f926c8ca (diff)
parentd7de6410dd462b2f83e77f78575b3f9112d154d0 (diff)
downloadCMake-c79023ceffb20b80a9a6e0b429330c32e4197cd7.zip
CMake-c79023ceffb20b80a9a6e0b429330c32e4197cd7.tar.gz
CMake-c79023ceffb20b80a9a6e0b429330c32e4197cd7.tar.bz2
Merge topic 'fix-13571-avoid-empty-sln-folders'
d7de641 VS: Avoid empty, unreferenced solution folders... (#13571)
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index b6eea5d..15ef738 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -268,6 +268,8 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution(
cmLocalGenerator* root,
OrderedTargetDependSet const& projectTargets)
{
+ VisualStudioFolders.clear();
+
for(OrderedTargetDependSet::const_iterator tt =
projectTargets.begin(); tt != projectTargets.end(); ++tt)
{