mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
ENH: Added SEE ALSO support for generated unix manpage.
This commit is contained in:
parent
c981e03585
commit
d4854628ab
@ -62,6 +62,14 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
|
|||||||
{0,0,0}
|
{0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
static const cmDocumentationEntry cmDocumentationSeeAlso[] =
|
||||||
|
{
|
||||||
|
{0, "cmake", 0},
|
||||||
|
{0, "ctest", 0},
|
||||||
|
{0, 0, 0}
|
||||||
|
};
|
||||||
|
|
||||||
cmCursesForm* cmCursesForm::CurrentForm=0;
|
cmCursesForm* cmCursesForm::CurrentForm=0;
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
@ -108,6 +116,7 @@ int main(int argc, char** argv)
|
|||||||
doc.SetDescriptionSection(cmDocumentationDescription);
|
doc.SetDescriptionSection(cmDocumentationDescription);
|
||||||
doc.SetOptionsSection(cmDocumentationOptions);
|
doc.SetOptionsSection(cmDocumentationOptions);
|
||||||
doc.SetCommandsSection(&commands[0]);
|
doc.SetCommandsSection(&commands[0]);
|
||||||
|
doc.SetSeeAlsoList(cmDocumentationSeeAlso);
|
||||||
return doc.PrintRequestedDocumentation(std::cout)? 0:1;
|
return doc.PrintRequestedDocumentation(std::cout)? 0:1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user