Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
18a9fdf8
Commit
18a9fdf8
authored
Feb 18, 2003
by
Brad King
💬
Browse files
ENH: Updated to use cmDocumentation class.
parent
5e18bec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmDumpDocumentation.cxx
View file @
18a9fdf8
...
...
@@ -19,6 +19,8 @@
//
#include
"cmake.h"
#include
"cmDocumentation.h"
int
main
(
int
ac
,
char
**
av
)
{
cmSystemTools
::
EnableMSVCDebugHook
();
...
...
@@ -34,6 +36,13 @@ int main(int ac, char** av)
std
::
cerr
<<
"failed to open output file: "
<<
outname
<<
"
\n
"
;
return
-
1
;
}
cmi
.
DumpDocumentationToFile
(
fout
);
cmDocumentation
doc
;
std
::
vector
<
cmDocumentationEntry
>
commands
;
cmi
.
GetCommandDocumentation
(
commands
);
doc
.
AddSection
(
"Documentation for Commands of CMake "
CMake_VERSION_STRING
,
&
commands
[
0
]);
doc
.
Print
(
cmDocumentation
::
HTMLForm
,
fout
);
return
0
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment