diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-01-01 15:58:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-05 19:19:42 (GMT) |
commit | 76b5383123daa4249c9cfffdc93727713dfad29f (patch) | |
tree | a0880aab4d6fca7b0bff5bfb42f0659a846a4ce3 /Source/cmGlobalGenerator.h | |
parent | 7fc2a83fe6a0dceb4fabfd6aac99a5cb2fa09ec5 (diff) | |
download | CMake-76b5383123daa4249c9cfffdc93727713dfad29f.zip CMake-76b5383123daa4249c9cfffdc93727713dfad29f.tar.gz CMake-76b5383123daa4249c9cfffdc93727713dfad29f.tar.bz2 |
cmGlobalGenerator: add unity sources after computing target compile features
We need to know which sources will be scanned for C++ module
dependencies in order to exclude them from unity builds. The
addition of unity sources will not change the set of features.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index aa54f69..763136e 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -677,6 +677,7 @@ protected: bool AddHeaderSetVerification(); bool AddAutomaticSources(); + bool AddUnitySources(); std::string SelectMakeProgram(const std::string& makeProgram, const std::string& makeDefault = "") const; |