[cmake-developers] [CMake 0012592]: New componentwise extra install commands for NSIS-generator

Mantis Bug Tracker mantis at public.kitware.com
Sat Nov 26 14:49:21 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12592 
====================================================================== 
Reported By:                Marcel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12592
Category:                   CPack
Reproducibility:            N/A
Severity:                   feature
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2011-11-26 14:49 EST
Last Modified:              2011-11-26 14:49 EST
====================================================================== 
Summary:                    New componentwise extra install commands for
NSIS-generator
Description: 
The attached patch adds the following functionality to the NSIS-generator.

NSIS commands given to the new CPack option
CPACK_COMPONENT_<name>_EXTRA_INSTALL_COMMANDS are added exclusively to the
install section generated for the component <name>.

This gives greater flexibility in contrast to
CPACK_NSIS_EXTRA_INSTALL_COMMANDS that only allows to add NSIS commands to
the overall install section. With the new CPack option NSIS code can be added
that is only executed if the user chooses to install the corresponding section. 

Also the constraint that only components with files are added
to the generated NSIS-script is removed, so that components with extra install
commands only can be created.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-11-26 14:49 Marcel         New Issue                                    
2011-11-26 14:49 Marcel         File Added:
0001-CPack-Added-EXTRA_INSTALL_COMMANDS-option-for-single.patch                 
  
======================================================================




More information about the cmake-developers mailing list