summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.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/cmGlobalVisualStudio7Generator.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/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 8a9888b..e2d8d6b 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -274,6 +274,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout,
std::string rootdir = root->GetMakefile()->GetStartOutputDirectory();
rootdir += "/";
bool doneAllBuild = false;
+ bool doneCheckBuild = false;
bool doneRunTests = false;
bool doneInstall = false;
@@ -363,6 +364,17 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout,
doneAllBuild = true;
}
}
+ if(l->first == CMAKE_CHECK_BUILD_SYSTEM_TARGET)
+ {
+ if(doneCheckBuild)
+ {
+ skip = true;
+ }
+ else
+ {
+ doneCheckBuild = true;
+ }
+ }
if(l->first == "INSTALL")
{
if(doneInstall)