ENH: allow debug of tryrun

This commit is contained in:
Bill Hoffman 2004-08-04 17:21:19 -04:00
parent 9b1771aef4
commit 023f5d1f25
1 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,10 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
std::string cacheFile = binaryDirectory;
cacheFile += "/CMakeLists.txt";
cmListFileCache::GetInstance()->FlushCache(cacheFile.c_str());
cmTryCompileCommand::CleanupFiles(binaryDirectory.c_str());
if(!m_Makefile->GetCMakeInstance()->GetDebugTryCompile())
{
cmTryCompileCommand::CleanupFiles(binaryDirectory.c_str());
}
return true;
}