diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 21:40:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 21:40:07 (GMT) |
commit | a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59 (patch) | |
tree | 554853021dba4b552bb22235b2f9a15a662fc989 /Source/cmMakefile.cxx | |
parent | 852be8a520a8a03268b499642c5257675b9ad7f2 (diff) | |
download | CMake-a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59.zip CMake-a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59.tar.gz CMake-a4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59.tar.bz2 |
ENH: add dump documentation test
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 9dd92e8..ee27f58 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -797,16 +797,9 @@ const char* cmMakefile::GetDefinition(const char* name) return cmCacheManager::GetInstance()->GetCacheValue(name); } -int cmMakefile::DumpDocumentationToFile(const char *fileName) +int cmMakefile::DumpDocumentationToFile(std::ostream& f) { // Open the supplied filename - std::ofstream f; - f.open(fileName, std::ios::out); - - if ( f.fail() ) - { - return 0; - } // Loop over all registered commands and print out documentation const char *name; |