diff options
author | Brad King <brad.king@kitware.com> | 2001-03-09 15:52:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-09 15:52:43 (GMT) |
commit | 60507258c786eb7b04f9248825659b47dc617c63 (patch) | |
tree | e21c56472a0e0581cb97e3ff6e2efcf5d8bc8b04 /Source/cmCableData.cxx | |
parent | 93a17629b6c8ff3a72c92c1f4e7b223621e73d90 (diff) | |
download | CMake-60507258c786eb7b04f9248825659b47dc617c63.zip CMake-60507258c786eb7b04f9248825659b47dc617c63.tar.gz CMake-60507258c786eb7b04f9248825659b47dc617c63.tar.bz2 |
ERR: Added automatic creation of directory for cable_config.xml file and corresponding error reporting.
Diffstat (limited to 'Source/cmCableData.cxx')
-rw-r--r-- | Source/cmCableData.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCableData.cxx b/Source/cmCableData.cxx index 7fadb41..618a708 100644 --- a/Source/cmCableData.cxx +++ b/Source/cmCableData.cxx @@ -59,6 +59,10 @@ void cmCableData::OpenOutputFile(const std::string& name) { this->WriteConfigurationHeader(); } + else + { + cmSystemTools::Error("Unable to open CABLE config file: ", name.c_str()); + } } |