[CMake] Sub components with CPack and NSIS

NoRulez norulez at me.com
Tue Mar 8 15:45:44 EST 2011


Ok,

I mean a parent group instead of sub component.

But i doesn't find any documentations about this too.

If it isn't implemented in CPack, can i mix cpack and nsis scripts, and if so how?

Best Regards

Am 08.03.2011 um 21:36 schrieb Eric Noulard <eric.noulard at gmail.com>:

> 2011/3/8 NoRulez <norulez at me.com>:
>> Hello everyone,
>> 
>> is there a way to generate sub and sub sub components with CPack and Nsis?
> 
> Yes theoretically there is.
> But I never tried.
> 
>> I would like to have the following structure, but I couldn’t figure out how
>> to do this:
>> 
>> Component
>>          |
>>          +-------- Sub Component 1
>>          +-------- Sub Component 2
>>                                         |
>>                                         +-------- Sub Sub Component 1
>>                                         |
>>          +-------- Sub Component 3
>>          |
>> Component 2
> 
> There is no such thing as "sub-component" with CPack you
> define components and then you "group" them inside "Component Groups".
> 
> Have a look at the rule for component packaging
> http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack#Principles_of_CPack_Component_Packaging
> 
> you'll see that a group may have a "PARENT_GROUP".
> 
> However this has been written from what is written in "CPack.cmake"
> documentation header
> and I'm not sure that the "PARENT_GROUP" has been implemented or used.
> 
> 
> -- 
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org


More information about the CMake mailing list