add documentation for the AUTOMOC_MOC_OPTIONS property
Alex
This commit is contained in:
parent
52719a1d66
commit
2c648ab7e2
|
@ -1102,6 +1102,15 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
|
|||
false,
|
||||
"Variables that Control the Build");
|
||||
|
||||
cm->DefineProperty
|
||||
("CMAKE_AUTOMOC_MOC_OPTIONS", cmProperty::VARIABLE,
|
||||
"Additional options for moc when using automoc (see CMAKE_AUTOMOC).",
|
||||
"This variable is used to initialize the "
|
||||
"AUTOMOC_MOC_OPTIONS property on all the targets. "
|
||||
"See that target property for additional information.",
|
||||
false,
|
||||
"Variables that Control the Build");
|
||||
|
||||
cm->DefineProperty
|
||||
("CMAKE_DEBUG_POSTFIX", cmProperty::VARIABLE,
|
||||
"See variable CMAKE_<CONFIG>_POSTFIX.",
|
||||
|
|
|
@ -157,7 +157,20 @@ void cmTarget::DefineProperties(cmake *cm)
|
|||
"files are included in a generated <targetname>_automoc.cpp file, "
|
||||
"which is compiled as part of the target."
|
||||
"This property is initialized by the value of the variable "
|
||||
"CMAKE_AUTOMOC if it is set when a target is created.");
|
||||
"CMAKE_AUTOMOC if it is set when a target is created.\n"
|
||||
"Additional command line options for moc can be set via the "
|
||||
"AUTOMOC_MOC_OPTIONS property."
|
||||
);
|
||||
|
||||
cm->DefineProperty
|
||||
("AUTOMOC_MOC_OPTIONS", cmProperty::TARGET,
|
||||
"Additional options for moc when using automoc (see the AUTOMOC property)",
|
||||
"This property is only used if the AUTOMOC property is set to TRUE for "
|
||||
"this target. In this case, it holds additional command line options "
|
||||
"which will be used when moc is executed during the build, i.e. it is "
|
||||
"equivalent to the optional OPTIONS argument of the qt4_wrap_cpp() "
|
||||
"macro.\n"
|
||||
"By default it is empty.");
|
||||
|
||||
cm->DefineProperty
|
||||
("BUILD_WITH_INSTALL_RPATH", cmProperty::TARGET,
|
||||
|
|
Loading…
Reference in New Issue