fix to the cleanup code
This commit is contained in:
parent
b3b0eeba05
commit
7e6f9fff2b
@ -94,7 +94,8 @@ bool cmTryCompileCommand::InitialPass(std::vector<std::string> const& argv)
|
|||||||
m_Makefile->AddDefinition(argv[0].c_str(), (res == 0 ? "TRUE" : "FALSE"));
|
m_Makefile->AddDefinition(argv[0].c_str(), (res == 0 ? "TRUE" : "FALSE"));
|
||||||
|
|
||||||
// if we created a directory etc, then cleanup after ourselves
|
// if we created a directory etc, then cleanup after ourselves
|
||||||
/*
|
if (argv.size() == 3)
|
||||||
|
{
|
||||||
cmDirectory dir;
|
cmDirectory dir;
|
||||||
dir.Load(binaryDirectory);
|
dir.Load(binaryDirectory);
|
||||||
size_t fileNum;
|
size_t fileNum;
|
||||||
@ -109,7 +110,8 @@ bool cmTryCompileCommand::InitialPass(std::vector<std::string> const& argv)
|
|||||||
cmSystemTools::RemoveFile(fullPath.c_str());
|
cmSystemTools::RemoveFile(fullPath.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user