[CMake] Sub components with CPack and NSIS
Eric Noulard
eric.noulard at gmail.com
Tue Mar 8 15:36:47 EST 2011
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