summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-02 12:59:21 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-02 14:43:27 (GMT)
commit30829da50616c18e88e69e8fd6b4508ce28429c3 (patch)
tree096720c41f2cde94c962950220f8d82fb4efd60f /Source/cmLocalGenerator.cxx
parent87bf1c6c33fd774587cd3644ffb8d665111cbb50 (diff)
downloadCMake-30829da50616c18e88e69e8fd6b4508ce28429c3.zip
CMake-30829da50616c18e88e69e8fd6b4508ce28429c3.tar.gz
CMake-30829da50616c18e88e69e8fd6b4508ce28429c3.tar.bz2
Unity: Clarify source comments on unity build transformation
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 7337ea2..3e98341 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -3131,6 +3131,7 @@ void cmLocalGenerator::AddUnityBuild(cmGeneratorTarget* target)
for (size_t ci = 0; ci < configs.size(); ++ci) {
// FIXME: Refactor collection of sources to not evaluate object libraries.
+ // Their final set of object files might be transformed by unity builds.
std::vector<cmSourceFile*> sources;
target->GetSourceFiles(sources, configs[ci]);
for (cmSourceFile* sf : sources) {