Merge topic 'fix-13571-avoid-empty-sln-folders'

d7de641 VS: Avoid empty, unreferenced solution folders... (#13571)
This commit is contained in:
Brad King 2012-11-06 14:13:32 -05:00 committed by CMake Topic Stage
commit c79023ceff
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{