now creates output directories

This commit is contained in:
Ken Martin 2001-08-10 15:54:19 -04:00
parent 3653726497
commit 0b471134c3
2 changed files with 2 additions and 0 deletions

View File

@ -317,6 +317,7 @@ public:
{
m_StartOutputDirectory = lib;
cmSystemTools::ConvertToUnixSlashes(m_StartOutputDirectory);
cmSystemTools::MakeDirectory(m_StartOutputDirectory.c_str());
}
const char* GetStartOutputDirectory() const
{

View File

@ -210,6 +210,7 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
FILE *fout = fopen(tempOutputFile.c_str(),"w");
if (!fout)
{
cmSystemTools::Error("Failed to open TclInit file for ", tempOutputFile.c_str());
return false;
}