mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
moved dump docs into cmake
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
// Program extracts documentation describing commands from
|
||||
// the CMake system.
|
||||
//
|
||||
#include "cmMakefile.h"
|
||||
#include "cmake.h"
|
||||
|
||||
int main(int ac, char** av)
|
||||
{
|
||||
cmMakefile makefile;
|
||||
cmake cmi;
|
||||
const char* outname = "cmake.html";
|
||||
if(ac > 1)
|
||||
{
|
||||
@@ -33,6 +33,6 @@ int main(int ac, char** av)
|
||||
std::cerr << "failed to open output file: " << outname << "\n";
|
||||
return -1;
|
||||
}
|
||||
makefile.DumpDocumentationToFile(fout);
|
||||
cmi.DumpDocumentationToFile(fout);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user