From 19e65b20dd62b794cc97ba45cf607ceb2b1c4526 Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Fri, 25 Dec 2020 23:34:56 +0100 Subject: [PATCH] CMake: udpate generators list --- src/_cmake | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/src/_cmake b/src/_cmake index 7769b76..1e61d97 100644 --- a/src/_cmake +++ b/src/_cmake @@ -464,26 +464,30 @@ _cmake_define_property_values() { return ret } +local _cmake_generator_list +_cmake_generator_list=( + 'Green Hills MULTI' + 'Unix Makefiles' + 'Ninja' + 'Ninja Multi-Config' + 'CodeBlocks - Ninja' + 'CodeBlocks - Unix Makefiles' + 'CodeLite - Ninja' + 'CodeLite - Unix Makefiles' + 'Eclipse CDT4 - Ninja' + 'Eclipse CDT4 - Unix Makefiles' + 'Kate - Ninja' + 'Kate - Unix Makefiless' + 'Sublime Text 2 - Ninja' + 'Sublime Text 2 - Unix Makefiles' +) # ----------------- # _cmake_generators # ----------------- (( $+functions[_cmake_generators] )) || _cmake_generators() { - local generators; generators=( - 'Unix Makefiles' - 'Ninja' - 'CodeBlocks - Ninja' - 'CodeBlocks - Unix Makefiles' - 'Eclipse CDT4 - Ninja' - 'Eclipse CDT4 - Unix Makefiles' - 'KDevelop3' - 'KDevelop3 - Unix Makefiles' - 'Sublime Text 2 - Ninja' - 'Sublime Text 2 - Unix Makefiles' - ) - - _describe -t generators 'generator' generators + _describe -t generators 'generator' _cmake_generator_list } # ----------------------