summaryrefslogtreecommitdiff
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-03 13:34:42 -0400
committerBrad King <brad.king@kitware.com>2019-10-03 14:55:22 -0400
commit83c1657ff7fda3dc86b49bc9039f59449f2d8ae4 (patch)
treeaa13cfff76c4134309428293f6e69aed364febac /Source/cmGlobalGenerator.h
parentd918b4a545fefd1593753189d83ec8590f430579 (diff)
downloadcmake-83c1657ff7fda3dc86b49bc9039f59449f2d8ae4.tar.gz
Unity build: Generate sources during Compute step
The unity build sources need to be added for all generators. Create them during `cmGlobalGenerator::Compute` to avoid duplicating the calls in every generator. We already handle Qt autogen there too. Issue: #19789
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index b7a8ac7cad..9e30b8f40b 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -503,6 +503,8 @@ protected:
/// @return true on success
bool QtAutoGen();
+ bool AddAutomaticSources();
+
std::string SelectMakeProgram(const std::string& makeProgram,
const std::string& makeDefault = "") const;