summaryrefslogtreecommitdiffstats
path: root/Help/prop_sf
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-10 15:14:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-01-10 15:15:46 (GMT)
commit446abdf324621fe7c0df14301b418cd5ceddf0f5 (patch)
tree7fd077dfcb2f071d4a96fe99cdcfb2b324098bed /Help/prop_sf
parent8c4f0bf6a3c45d7442b851dd3e9ee28ced2e730f (diff)
parent63bbb3768d3cf87459b6b66effa8726f38cc745a (diff)
downloadCMake-446abdf324621fe7c0df14301b418cd5ceddf0f5.zip
CMake-446abdf324621fe7c0df14301b418cd5ceddf0f5.tar.gz
CMake-446abdf324621fe7c0df14301b418cd5ceddf0f5.tar.bz2
Merge topic 'cxxmodules-no-unity'
63bbb3768d cmLocalGenerator: ignore scanned sources for unity builds 76b5383123 cmGlobalGenerator: add unity sources after computing target compile features 7fc2a83fe6 Tests/CXXModules: add a test with unity build support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9118
Diffstat (limited to 'Help/prop_sf')
-rw-r--r--Help/prop_sf/SKIP_UNITY_BUILD_INCLUSION.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/prop_sf/SKIP_UNITY_BUILD_INCLUSION.rst b/Help/prop_sf/SKIP_UNITY_BUILD_INCLUSION.rst
index ae526ac..38a0a78 100644
--- a/Help/prop_sf/SKIP_UNITY_BUILD_INCLUSION.rst
+++ b/Help/prop_sf/SKIP_UNITY_BUILD_INCLUSION.rst
@@ -11,3 +11,7 @@ in the same way as it would with unity builds disabled.
This property helps with "ODR (One definition rule)" problems where combining
a particular source file with others might lead to build errors or other
unintended side effects.
+
+Note that sources which are scanned for C++ modules (see
+:manual:`cmake-cxxmodules(7)`) are not eligible for unity build inclusion and
+will automatically be excluded.