summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2024-01-01 16:04:29 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-05 19:21:27 (GMT)
commit63bbb3768d3cf87459b6b66effa8726f38cc745a (patch)
tree55bcf85e8ae41bedf013e2211c64c3f03544e653 /Help/prop_tgt
parent76b5383123daa4249c9cfffdc93727713dfad29f (diff)
downloadCMake-63bbb3768d3cf87459b6b66effa8726f38cc745a.zip
CMake-63bbb3768d3cf87459b6b66effa8726f38cc745a.tar.gz
CMake-63bbb3768d3cf87459b6b66effa8726f38cc745a.tar.bz2
cmLocalGenerator: ignore scanned sources for unity builds
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/UNITY_BUILD.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/prop_tgt/UNITY_BUILD.rst b/Help/prop_tgt/UNITY_BUILD.rst
index f827a20..9d68250 100644
--- a/Help/prop_tgt/UNITY_BUILD.rst
+++ b/Help/prop_tgt/UNITY_BUILD.rst
@@ -64,6 +64,11 @@ a number of measures to help address such problems:
:prop_sf:`INCLUDE_DIRECTORIES` source property will not be combined
into a unity source.
+* Any source file which is scanned for C++ module sources via
+ :prop_tgt:`CXX_SCAN_FOR_MODULES`, :prop_sf:`CXX_SCAN_FOR_MODULES`, or
+ membership of a ``CXX_MODULES`` file set will not be combined into a unity
+ source. See :manual:`cmake-cxxmodules(7)` for details.
+
* Projects can prevent an individual source file from being combined into
a unity source by setting its :prop_sf:`SKIP_UNITY_BUILD_INCLUSION`
source property to true. This can be a more effective way to prevent