2011/3/8 NoRulez <[email protected]>: > 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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
