From 852f6018bbe2bb52a3b7cbef95dba04c8e8f6a0c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 4 Feb 2008 16:05:00 -0500 Subject: ENH: make sure ALL_BUILD only shows up once --- Source/cmGlobalVisualStudio7Generator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 0af84e2..3432622 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -336,9 +336,11 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution( { bool skip = false; // if it is a global target or the check build system target + // or the all_build target // then only use the one that is for the root if(target->GetType() == cmTarget::GLOBAL_TARGET - || !strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET)) + || !strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET) + || !strcmp(target->GetName(), this->GetAllTargetName())) { if(target->GetMakefile() != root->GetMakefile()) { -- cgit v0.12