diff options
author | Brad King <brad.king@kitware.com> | 2009-10-19 14:47:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-19 14:47:34 (GMT) |
commit | 7766473d3eb71937a7fa783fb5a29ae1f6fb6a47 (patch) | |
tree | 74150a989e3c6db8caf5493a84b8d2bcd61a9000 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 180a681b5385b224fd69665663d4b7406e7f2f8a (diff) | |
download | CMake-7766473d3eb71937a7fa783fb5a29ae1f6fb6a47.zip CMake-7766473d3eb71937a7fa783fb5a29ae1f6fb6a47.tar.gz CMake-7766473d3eb71937a7fa783fb5a29ae1f6fb6a47.tar.bz2 |
Avoid duplicate ZERO_CHECK in VS solutions
The commit "Avoid non-root copies of root-only targets" moved the check
for root-only targets into cmGlobalGenerator::GetTargetSets to avoid
adding multiple ALL_BUILD targets to the "original" target set. This
approach did not work for ZERO_CHECK targets though because those are
pulled in by dependency analysis.
Instead we eliminate duplicate ZERO_CHECK targets altogether and refer
to a single one from all solution files. This cleans up VS 10 project
file references to ZERO_CHECK targets anyway.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index dbe9aed..ea9065e 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -615,13 +615,6 @@ cmGlobalVisualStudio7Generator } } -//---------------------------------------------------------------------------- -bool cmGlobalVisualStudio7Generator::IsRootOnlyTarget(cmTarget* target) -{ - return (this->cmGlobalVisualStudioGenerator::IsRootOnlyTarget(target) || - strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET) == 0); -} - bool cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild(const char* project, cmTarget* target) { |