diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-01-01 16:04:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-05 19:21:27 (GMT) |
commit | 63bbb3768d3cf87459b6b66effa8726f38cc745a (patch) | |
tree | 55bcf85e8ae41bedf013e2211c64c3f03544e653 /Help/manual | |
parent | 76b5383123daa4249c9cfffdc93727713dfad29f (diff) | |
download | CMake-63bbb3768d3cf87459b6b66effa8726f38cc745a.zip CMake-63bbb3768d3cf87459b6b66effa8726f38cc745a.tar.gz CMake-63bbb3768d3cf87459b6b66effa8726f38cc745a.tar.bz2 |
cmLocalGenerator: ignore scanned sources for unity builds
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-cxxmodules.7.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/manual/cmake-cxxmodules.7.rst b/Help/manual/cmake-cxxmodules.7.rst index b4c9cf1..3ee6645 100644 --- a/Help/manual/cmake-cxxmodules.7.rst +++ b/Help/manual/cmake-cxxmodules.7.rst @@ -30,6 +30,10 @@ following queries. The first query that provides a yes/no answer is used. - Otherwise, the source file will be scanned if the compiler and generator support scanning. See policy :policy:`CMP0155`. +Note that any scanned source will be excluded from any unity build (see +:prop_tgt:`UNITY_BUILD`) because module-related statements can only happen at +one place within a C++ translation unit. + Compiler Support ================ |