mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
Help: Document the AUTOUIC_SOURCE_GROUP property
This property came into existence with the changes in b4a103bdec
because generated files are now being added for UIC.
This commit is contained in:
@@ -92,6 +92,7 @@ syn keyword cmakeProperty contained
|
||||
\ AUTOUIC_EXECUTABLE
|
||||
\ AUTOUIC_OPTIONS
|
||||
\ AUTOUIC_SEARCH_PATHS
|
||||
\ AUTOUIC_SOURCE_GROUP
|
||||
\ BINARY_DIR
|
||||
\ BUILDSYSTEM_TARGETS
|
||||
\ BUILD_RPATH
|
||||
|
@@ -21,6 +21,7 @@ Properties of Global Scope
|
||||
/prop_gbl/AUTOMOC_SOURCE_GROUP
|
||||
/prop_gbl/AUTOMOC_TARGETS_FOLDER
|
||||
/prop_gbl/AUTORCC_SOURCE_GROUP
|
||||
/prop_gbl/AUTOUIC_SOURCE_GROUP
|
||||
/prop_gbl/CMAKE_C_KNOWN_FEATURES
|
||||
/prop_gbl/CMAKE_CUDA_KNOWN_FEATURES
|
||||
/prop_gbl/CMAKE_CXX_KNOWN_FEATURES
|
||||
|
@@ -3,15 +3,16 @@ AUTOGEN_SOURCE_GROUP
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
Name of the :command:`source_group` for :prop_tgt:`AUTOMOC` and
|
||||
:prop_tgt:`AUTORCC` generated files.
|
||||
Name of the :command:`source_group` for :prop_tgt:`AUTOMOC`,
|
||||
:prop_tgt:`AUTORCC` and :prop_tgt:`AUTOUIC` generated files.
|
||||
|
||||
Files generated by :prop_tgt:`AUTOMOC` and :prop_tgt:`AUTORCC` are not always
|
||||
known at configure time and therefore can't be passed to
|
||||
:command:`source_group`.
|
||||
Files generated by :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC` and
|
||||
:prop_tgt:`AUTOUIC` are not always known at configure time and therefore can't
|
||||
be passed to :command:`source_group`.
|
||||
:prop_gbl:`AUTOGEN_SOURCE_GROUP` can be used instead to generate or select
|
||||
a source group for :prop_tgt:`AUTOMOC` and :prop_tgt:`AUTORCC` generated files.
|
||||
a source group for :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC` and
|
||||
:prop_tgt:`AUTOUIC` generated files.
|
||||
|
||||
For :prop_tgt:`AUTOMOC` and :prop_tgt:`AUTORCC` specific overrides see
|
||||
:prop_gbl:`AUTOMOC_SOURCE_GROUP` and :prop_gbl:`AUTORCC_SOURCE_GROUP`
|
||||
respectively.
|
||||
For :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTORCC` and :prop_tgt:`AUTOUIC` specific
|
||||
overrides see :prop_gbl:`AUTOMOC_SOURCE_GROUP`, :prop_gbl:`AUTORCC_SOURCE_GROUP`
|
||||
and :prop_gbl:`AUTOUIC_SOURCE_GROUP` respectively.
|
||||
|
9
Help/prop_gbl/AUTOUIC_SOURCE_GROUP.rst
Normal file
9
Help/prop_gbl/AUTOUIC_SOURCE_GROUP.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
AUTOUIC_SOURCE_GROUP
|
||||
--------------------
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Name of the :command:`source_group` for :prop_tgt:`AUTOUIC` generated files.
|
||||
|
||||
When set this is used instead of :prop_gbl:`AUTOGEN_SOURCE_GROUP` for
|
||||
files generated by :prop_tgt:`AUTOUIC`.
|
@@ -32,9 +32,10 @@ The :ref:`Makefile Generators` will remove ``GENERATED`` files during
|
||||
``make clean``.
|
||||
|
||||
Generated sources may be hidden in some IDE tools, while in others they might
|
||||
be shown. For the special case of sources generated by CMake's :prop_tgt:`AUTOMOC`
|
||||
or :prop_tgt:`AUTORCC` functionality, the :prop_gbl:`AUTOGEN_SOURCE_GROUP`,
|
||||
:prop_gbl:`AUTOMOC_SOURCE_GROUP` and :prop_gbl:`AUTORCC_SOURCE_GROUP` target
|
||||
be shown. For the special case of sources generated by CMake's :prop_tgt:`AUTOMOC`,
|
||||
:prop_tgt:`AUTORCC` or :prop_tgt:`AUTOUIC` functionality, the
|
||||
:prop_gbl:`AUTOGEN_SOURCE_GROUP`, :prop_gbl:`AUTOMOC_SOURCE_GROUP`,
|
||||
:prop_gbl:`AUTORCC_SOURCE_GROUP` and :prop_gbl:`AUTOUIC_SOURCE_GROUP` target
|
||||
properties may influence where the generated sources are grouped in the project's
|
||||
file lists.
|
||||
|
||||
|
Reference in New Issue
Block a user