From 88ecfd8ba122133777bb71b027df3684689d4e3a Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Fri, 11 Nov 2016 23:51:28 +0300 Subject: CPackIFW: Add some options New options is: DEFAULT, VIRTUAL, FORCED_INSTALLATION, DISPLAY_NAME, DESCRIPTION and RELEASE_DATE. Options added for both cpack_ifw_configure_component and cpack_ifw_configure_component_group command. --- Help/release/dev/cpack-ifw-options.rst | 7 +++ Modules/CPackIFW.cmake | 74 +++++++++++++++++++++++++--- Source/CPack/IFW/cmCPackIFWInstaller.cxx | 6 ++- Source/CPack/IFW/cmCPackIFWPackage.cxx | 82 +++++++++++++++++++++++++++++++- Source/CPack/IFW/cmCPackIFWPackage.h | 3 ++ Source/CPack/cmCPackGenerator.cxx | 18 +++++++ Source/CPack/cmCPackGenerator.h | 2 + 7 files changed, 183 insertions(+), 9 deletions(-) create mode 100644 Help/release/dev/cpack-ifw-options.rst diff --git a/Help/release/dev/cpack-ifw-options.rst b/Help/release/dev/cpack-ifw-options.rst new file mode 100644 index 0000000..cbe0f63 --- /dev/null +++ b/Help/release/dev/cpack-ifw-options.rst @@ -0,0 +1,7 @@ +cpack-ifw-options +----------------- + +* The :module:`CPackIFW` module :command:`cpack_ifw_configure_component` and + :command:`cpack_ifw_configure_component_group` commands gained a new + ``DEFAULT``, ``VIRTUAL``, ``FORCED_INSTALLATION``, ``DISPLAY_NAME``, + ``DESCRIPTION`` and ``RELEASE_DATE`` options to more specific configuration. diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake index 08078cb..d0d24ba 100644 --- a/Modules/CPackIFW.cmake +++ b/Modules/CPackIFW.cmake @@ -198,13 +198,18 @@ # # :: # -# cpack_ifw_configure_component( [COMMON] [ESSENTIAL] +# cpack_ifw_configure_component( [COMMON] [ESSENTIAL] [VIRTUAL] +# [FORCED_INSTALLATION] # [NAME ] +# [DISPLAY_NAME ] +# [DESCRIPTION ] # [VERSION ] +# [RELEASE_DATE ] # [SCRIPT