summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-11-06 13:57:12 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-06 16:47:15 (GMT)
commit7ddf46230431cd3375f911d4b406af663595861d (patch)
treeef5d4bf7d8dffb519fd0f445283ffd7092bc66de /Source/cmLocalGenerator.cxx
parente0ec13059a04491c601e158c137cddc0802a410c (diff)
downloadCMake-7ddf46230431cd3375f911d4b406af663595861d.zip
CMake-7ddf46230431cd3375f911d4b406af663595861d.tar.gz
CMake-7ddf46230431cd3375f911d4b406af663595861d.tar.bz2
Unity build: Include GENERATED files into unity build
There is no reason to skip the generated files, in case of problems one can use the SKIP_UNITY_BUILD_INCLUSION property. Fixes: #19925
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 00bd8af..cae47e0 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2441,7 +2441,6 @@ void cmLocalGenerator::AddUnityBuild(cmGeneratorTarget* target)
std::back_inserter(filtered_sources), [&](cmSourceFile* sf) {
return sf->GetLanguage() == lang &&
!sf->GetPropertyAsBool("SKIP_UNITY_BUILD_INCLUSION") &&
- !sf->GetPropertyAsBool("GENERATED") &&
!sf->GetProperty("COMPILE_OPTIONS") &&
!sf->GetProperty("COMPILE_DEFINITIONS") &&
!sf->GetProperty("COMPILE_FLAGS") &&