summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-qt.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-20 20:37:59 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-16 19:04:30 (GMT)
commit92d7b456e581453cf7a223c60c8734a88d887534 (patch)
tree99970c99741a78116befb01a1b4c4f90f8da5e95 /Help/manual/cmake-qt.7.rst
parent3ffebbaefb876f40c2d2751b58800cacf4951407 (diff)
downloadCMake-92d7b456e581453cf7a223c60c8734a88d887534.zip
CMake-92d7b456e581453cf7a223c60c8734a88d887534.tar.gz
CMake-92d7b456e581453cf7a223c60c8734a88d887534.tar.bz2
Autogen: Add support for per-config sources
Fixes: #20682
Diffstat (limited to 'Help/manual/cmake-qt.7.rst')
-rw-r--r--Help/manual/cmake-qt.7.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst
index d8d6172..f156f95 100644
--- a/Help/manual/cmake-qt.7.rst
+++ b/Help/manual/cmake-qt.7.rst
@@ -48,6 +48,8 @@ and ``rcc`` for virtual file system content generation. These tools may be
automatically invoked by :manual:`cmake(1)` if the appropriate conditions
are met. The automatic tool invocation may be used with both Qt 4 and Qt 5.
+.. _`Qt AUTOMOC`:
+
AUTOMOC
^^^^^^^
@@ -77,8 +79,9 @@ automatically added to the target's :prop_tgt:`INCLUDE_DIRECTORIES`.
Not included ``moc_<basename>.cpp`` files will be generated in custom
folders to avoid name collisions and included in a separate
-``<AUTOGEN_BUILD_DIR>/mocs_compilation.cpp`` file which is compiled
-into the target.
+file which is compiled into the target, named either
+``<AUTOGEN_BUILD_DIR>/mocs_compilation.cpp`` or
+``<AUTOGEN_BUILD_DIR>/mocs_compilation_$<CONFIG>.cpp``.
* See :prop_tgt:`AUTOGEN_BUILD_DIR`.