mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
The language is very simple. It use ##<keyword> special comment which opens a structured documentation block and ##end closes it. This may be used to extract documentation for macro as 'command' and 'variables' such that cpack --help-command and --help-variable does parse builtin modules files (CPack.cmake, CPackComponent.cmake, ...) in order to extract the corresponding doc.
25 lines
795 B
C++
25 lines
795 B
C++
#include "cmCPackDocumentVariables.h"
|
|
#include "cmake.h"
|
|
|
|
void cmCPackDocumentVariables::DefineVariables(cmake* cm)
|
|
{
|
|
// Subsection: variables defined/used by cpack,
|
|
// which are common to all CPack generators
|
|
|
|
cm->DefineProperty
|
|
("CPACK_PACKAGE_VENDOR", cmProperty::VARIABLE,
|
|
"The name of the package vendor.",
|
|
"If not specified, defaults to \"Humanity\"."
|
|
"", false,
|
|
"Variables common to all CPack generators");
|
|
|
|
// Subsection: variables defined/used by cpack,
|
|
// which are specific to one CPack generator
|
|
cm->DefineProperty
|
|
("CPACK_RPM_PACKAGE_NAME", cmProperty::VARIABLE,
|
|
"RPM specific package name.",
|
|
"If not specified, defaults to CPACK_PACKAGE_NAME."
|
|
"", false,
|
|
"Variables specific to a CPack generator");
|
|
}
|