summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-08-10 19:54:19 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-08-10 19:54:19 (GMT)
commit0b471134c3927bb6706616c0de00644b9044b167 (patch)
treeaf4e182704b236e0c33e15ea53cdbbfabdb80bd5 /Source
parent3653726497765ba1d94721809a2fff454eb99a4a (diff)
downloadCMake-0b471134c3927bb6706616c0de00644b9044b167.zip
CMake-0b471134c3927bb6706616c0de00644b9044b167.tar.gz
CMake-0b471134c3927bb6706616c0de00644b9044b167.tar.bz2
now creates output directories
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.h1
-rw-r--r--Source/cmVTKWrapTclCommand.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 1e3738a..1ca5a18 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -317,6 +317,7 @@ public:
{
m_StartOutputDirectory = lib;
cmSystemTools::ConvertToUnixSlashes(m_StartOutputDirectory);
+ cmSystemTools::MakeDirectory(m_StartOutputDirectory.c_str());
}
const char* GetStartOutputDirectory() const
{
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx
index 4342a82..2094e25 100644
--- a/Source/cmVTKWrapTclCommand.cxx
+++ b/Source/cmVTKWrapTclCommand.cxx
@@ -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;
}