From 2b34796cb68d9b4df4d1bce10c0885c471f8eb25 Mon Sep 17 00:00:00 2001 From: Paul Seyfert Date: Wed, 1 Jan 2020 11:49:32 +0100 Subject: [PATCH] cmake: add CMAKE_UNITY_BUILD variable --- src/_cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_cmake b/src/_cmake index 0f1bdbc..e99bbd4 100644 --- a/src/_cmake +++ b/src/_cmake @@ -328,6 +328,7 @@ _cmake_define_common_property_names() { 'CMAKE_EXPORT_COMPILE_COMMANDS:Enable/disable output of compilation database during generation' 'CMAKE_RULE_MESSAGES:Specify whether to report a message for each make rule' 'CMAKE_VERBOSE_MAKEFILE:Enable verbose output from Makefile builds' + 'CMAKE_UNITY_BUILD:Batch include source files' ) _describe -t 'common-property-names' 'common property name' properties $@ @@ -348,6 +349,7 @@ _cmake_define_property_values() { (CMAKE_COLOR_MAKEFILE) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;; (CMAKE_RULE_MESSAGES) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;; (CMAKE_VERBOSE_MAKEFILE) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;; + (CMAKE_UNITY_BUILD) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;; (CMAKE_INSTALL_PREFIX) _files -/ && ret=0;; (CMAKE_EXPORT_COMPILE_COMMANDS) _wanted booleans expl 'boolean' _cmake_booleans && ret=0;; (CMAKE_*_COMPILER) _wanted compilers expl 'compiler' _cmake_compilers && ret=0;;