ENH: allow debug of tryrun
This commit is contained in:
parent
9b1771aef4
commit
023f5d1f25
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue