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/cmGlobalVisualStudio8Generator.h | |
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/cmGlobalVisualStudio8Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h index 4313b58..55e2880 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); |