summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-19 10:47:34 -0400
committerBrad King <brad.king@kitware.com>2009-10-19 10:47:34 -0400
commit7766473d3eb71937a7fa783fb5a29ae1f6fb6a47 (patch)
tree74150a989e3c6db8caf5493a84b8d2bcd61a9000 /Source/cmGlobalVisualStudio8Generator.h
parent180a681b5385b224fd69665663d4b7406e7f2f8a (diff)
downloadcmake-7766473d3eb71937a7fa783fb5a29ae1f6fb6a47.tar.gz
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/cmGlobalVisualStudio8Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h
index 4313b58ca3..55e2880e92 100644
--- a/Source/cmGlobalVisualStudio8Generator.h
+++ b/Source/cmGlobalVisualStudio8Generator.h
@@ -63,6 +63,8 @@ protected:
virtual bool VSLinksDependencies() const { return false; }
+ void AddCheckTarget();
+
static cmIDEFlagTable const* GetExtraFlagTableVS8();
virtual void AddPlatformDefinitions(cmMakefile* mf);
virtual void WriteSLNHeader(std::ostream& fout);