summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-07-26 14:08:32 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-08-29 14:44:09 (GMT)
commit7114c141e27532df709fcae1266bb4ce9b6e850c (patch)
tree0c44c45215b4b1fb58bab5c9974f2d26a9ec3f7c /Source/cmMakefileExecutableTargetGenerator.cxx
parent3ec986ce8e8df269eb6b6b9f37e12b02194168fd (diff)
downloadCMake-7114c141e27532df709fcae1266bb4ce9b6e850c.zip
CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.tar.gz
CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.tar.bz2
Unity build: Add support for Ninja and Makefile generators
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index bebd5c4..002addf 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -41,6 +41,7 @@ cmMakefileExecutableTargetGenerator::cmMakefileExecutableTargetGenerator(
cm::make_unique<cmOSXBundleGenerator>(target, this->ConfigName);
this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders);
+ this->LocalGenerator->AddUnityBuild(target, this->ConfigName);
this->LocalGenerator->AddPchDependencies(target, this->ConfigName);
}