summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2024-01-01 15:58:42 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-05 19:19:42 (GMT)
commit76b5383123daa4249c9cfffdc93727713dfad29f (patch)
treea0880aab4d6fca7b0bff5bfb42f0659a846a4ce3 /Source/cmGlobalGenerator.h
parent7fc2a83fe6a0dceb4fabfd6aac99a5cb2fa09ec5 (diff)
downloadCMake-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.h1
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;