diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-07-26 14:08:32 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-08-29 14:44:09 (GMT) |
commit | 7114c141e27532df709fcae1266bb4ce9b6e850c (patch) | |
tree | 0c44c45215b4b1fb58bab5c9974f2d26a9ec3f7c /Source/cmTarget.cxx | |
parent | 3ec986ce8e8df269eb6b6b9f37e12b02194168fd (diff) | |
download | CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.zip CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.tar.gz CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.tar.bz2 |
Unity build: Add support for Ninja and Makefile generators
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 2a09b43..10ea7dd 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -352,6 +352,8 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, initProp("Swift_MODULE_DIRECTORY"); initProp("VS_JUST_MY_CODE_DEBUGGING"); initProp("DISABLE_PRECOMPILE_HEADERS"); + initProp("UNITY_BUILD"); + initPropValue("UNITY_BUILD_BATCH_SIZE", "8"); #ifdef __APPLE__ if (this->GetGlobalGenerator()->IsXcode()) { initProp("XCODE_GENERATE_SCHEME"); |