[CMake] [CPACK] Patch with componentwise extra install commands for NSIS-generator
Marcel
minusdreidb+cmake at gmail.com
Sat Nov 26 09:09:04 EST 2011
Hi,
I extended cpack's NSIS-generator and want to contribute the attached patch.
It adds the CPACK_COMPONENT_<name>_EXTRA_INSTALL_COMMANDS option to
cpack that allows to add NSIS commands exclusivly to the install section
generated for the component <name>. So it adopts the option
CPACK_NSIS_EXTRA_INSTALL_COMMANDS for single components/sections.
That way special code can be added to a section that ist only executed
if the user chooses to install the section.
Perhaps this change could be merged into the cmake, because I think this
could be of some use for other cpack users.
If this is not the right place to contribute, could someone please give
me a pointer.
Best regards,
Marcel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-CPack-Added-EXTRA_INSTALL_COMMANDS-option-for-single.patch
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111126/cc7a4440/attachment.asc>
More information about the CMake
mailing list