mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 20:28:37 -06:00
QtAutogen: Rename autogen target to *_autogen from *_automoc
This commit is contained in:
committed by
Brad King
parent
d9996aab74
commit
b5409d04f1
@@ -1,7 +1,7 @@
|
|||||||
AUTOGEN_TARGETS_FOLDER
|
AUTOGEN_TARGETS_FOLDER
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
Name of :prop_tgt:`FOLDER` for ``*_automoc`` targets that are added automatically by
|
Name of :prop_tgt:`FOLDER` for ``*_autogen`` targets that are added automatically by
|
||||||
CMake for targets for which :prop_tgt:`AUTOMOC` is enabled.
|
CMake for targets for which :prop_tgt:`AUTOMOC` is enabled.
|
||||||
|
|
||||||
If not set, CMake uses the :prop_tgt:`FOLDER` property of the parent target as a
|
If not set, CMake uses the :prop_tgt:`FOLDER` property of the parent target as a
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
AUTOMOC_TARGETS_FOLDER
|
AUTOMOC_TARGETS_FOLDER
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
Name of :prop_tgt:`FOLDER` for ``*_automoc`` targets that are added automatically by
|
Name of :prop_tgt:`FOLDER` for ``*_autogen`` targets that are added automatically by
|
||||||
CMake for targets for which :prop_tgt:`AUTOMOC` is enabled.
|
CMake for targets for which :prop_tgt:`AUTOMOC` is enabled.
|
||||||
|
|
||||||
This property is obsolete. Use :prop_gbl:`AUTOGEN_TARGETS_FOLDER` instead.
|
This property is obsolete. Use :prop_gbl:`AUTOGEN_TARGETS_FOLDER` instead.
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
AUTOGEN_TARGET_DEPENDS
|
AUTOGEN_TARGET_DEPENDS
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
Target dependencies of the corresponding ``_automoc`` target.
|
Target dependencies of the corresponding ``_autogen`` target.
|
||||||
|
|
||||||
Targets which have their :prop_tgt:`AUTOMOC` target ``ON`` have a
|
Targets which have their :prop_tgt:`AUTOMOC` target ``ON`` have a
|
||||||
corresponding ``_automoc`` target which is used to autogenerate generate moc
|
corresponding ``_autogen`` target which is used to autogenerate generate moc
|
||||||
files. As this ``_automoc`` target is created at generate-time, it is not
|
files. As this ``_autogen`` target is created at generate-time, it is not
|
||||||
possible to define dependencies of it, such as to create inputs for the ``moc``
|
possible to define dependencies of it, such as to create inputs for the ``moc``
|
||||||
executable.
|
executable.
|
||||||
|
|
||||||
The ``AUTOGEN_TARGET_DEPENDS`` target property can be set instead to a list of
|
The ``AUTOGEN_TARGET_DEPENDS`` target property can be set instead to a list of
|
||||||
dependencies for the ``_automoc`` target. The buildsystem will be generated to
|
dependencies for the ``_autogen`` target. The buildsystem will be generated to
|
||||||
depend on its contents.
|
depend on its contents.
|
||||||
|
|
||||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ static std::string utilStripCR(std::string const& line)
|
|||||||
static std::string GetAutogenTargetName(cmGeneratorTarget const* target)
|
static std::string GetAutogenTargetName(cmGeneratorTarget const* target)
|
||||||
{
|
{
|
||||||
std::string autogenTargetName = target->GetName();
|
std::string autogenTargetName = target->GetName();
|
||||||
autogenTargetName += "_automoc";
|
autogenTargetName += "_autogen";
|
||||||
return autogenTargetName;
|
return autogenTargetName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user