summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-12-13 19:21:28 (GMT)
committerBrad King <brad.king@kitware.com>2005-12-13 19:21:28 (GMT)
commit1c7075057fee4285fb7d4779832ad8704c509715 (patch)
tree6bd9b2c42329af3d29da83bcf32f4242421058b0 /Source/cmLocalVisualStudio7Generator.cxx
parenta8d199df494e2c5c4404bb51844fb4c9ad31ec52 (diff)
downloadCMake-1c7075057fee4285fb7d4779832ad8704c509715.zip
CMake-1c7075057fee4285fb7d4779832ad8704c509715.tar.gz
CMake-1c7075057fee4285fb7d4779832ad8704c509715.tar.bz2
ENH: Added support for parallel builds in VS 8. There is now a special target on which all other targets depend that re-runs CMake if any listfiles have been changed. This addresses bug#2512.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 83c3497..bc39e53 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -959,7 +959,8 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
// if we should add regen rule then...
const char *suppRegenRule =
m_Makefile->GetDefinition("CMAKE_SUPPRESS_REGENERATION");
- if (!cmSystemTools::IsOn(suppRegenRule))
+ if (!cmSystemTools::IsOn(suppRegenRule) &&
+ (strcmp(libName, CMAKE_CHECK_BUILD_SYSTEM_TARGET) != 0))
{
this->AddVCProjBuildRule();
}