summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-17 13:16:53 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-17 13:16:53 (GMT)
commit83f61619a35c85d38655eded8cb35d509e179bef (patch)
treef79cc18485e9cec807fac078039fa6cacbbabbe2 /Source/cmGlobalVisualStudio6Generator.cxx
parent40fd3b83dc19c6b51afb73611dcc5be1422e9e26 (diff)
downloadCMake-83f61619a35c85d38655eded8cb35d509e179bef.zip
CMake-83f61619a35c85d38655eded8cb35d509e179bef.tar.gz
CMake-83f61619a35c85d38655eded8cb35d509e179bef.tar.bz2
slight change in signature
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index 9a03c15..dba4272 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -85,7 +85,7 @@ int cmGlobalVisualStudio6Generator::TryCompile(const char *,
{
makeCommand += "ALL_BUILD";
}
- makeCommand += " - Debug\" /REBUILD";
+ makeCommand += " - Debug\"";
int retVal;
if (!cmSystemTools::RunCommand(makeCommand.c_str(), output, retVal))
@@ -96,6 +96,10 @@ int cmGlobalVisualStudio6Generator::TryCompile(const char *,
return 1;
}
cmSystemTools::ChangeDirectory(cwd.c_str());
+ if (retVal)
+ {
+ cmSystemTools::Error("Generator: msdev returned a failure.");
+ }
return retVal;
}