From ed06d27c7f0503a7d0d32d352d2e31bd4b82070e Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 11 Oct 2019 08:05:29 -0400 Subject: Help: Extend documentation of CMAKE_UNITY_BUILD variable --- Help/variable/CMAKE_UNITY_BUILD.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Help/variable/CMAKE_UNITY_BUILD.rst b/Help/variable/CMAKE_UNITY_BUILD.rst index 3096954..b653881 100644 --- a/Help/variable/CMAKE_UNITY_BUILD.rst +++ b/Help/variable/CMAKE_UNITY_BUILD.rst @@ -1,6 +1,8 @@ CMAKE_UNITY_BUILD ----------------- -Default value for :prop_tgt:`UNITY_BUILD` of targets. - -By default ``CMAKE_UNITY_BUILD`` is ``OFF``. +Initializes the :prop_tgt:`UNITY_BUILD` target property on targets +as they are created. Set to ``ON`` to batch compilation of multiple +sources within each target. This feature is known as "Unity build", +or "Jumbo build". By default this variable is not set and so does +not enable unity builds on targets. -- cgit v0.12