summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2020-05-23 16:16:49 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-12-15 11:26:09 (GMT)
commit0fe9c40494be0e15e6603a245f181bc74d8cf481 (patch)
treebe46d0672e9a1c867eb8cffda5522e1aba6b477b /Source/cmTarget.cxx
parent82b25be80afc92da045d04a37e121a3fa97392c0 (diff)
downloadCMake-0fe9c40494be0e15e6603a245f181bc74d8cf481.zip
CMake-0fe9c40494be0e15e6603a245f181bc74d8cf481.tar.gz
CMake-0fe9c40494be0e15e6603a245f181bc74d8cf481.tar.bz2
Unity Build: Add option for generating per-file unique id
Fixes: #21477
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 9db5dc6..4bb8737 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -379,6 +379,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
initProp("VS_JUST_MY_CODE_DEBUGGING");
initProp("DISABLE_PRECOMPILE_HEADERS");
initProp("UNITY_BUILD");
+ initProp("UNITY_BUILD_UNIQUE_ID");
initProp("OPTIMIZE_DEPENDENCIES");
initPropValue("UNITY_BUILD_BATCH_SIZE", "8");
initPropValue("UNITY_BUILD_MODE", "BATCH");