2010/8/6 Alexander Neundorf <neund...@kde.org>: > On Friday 06 August 2010, Eric Noulard wrote: >> 2010/8/6 Alexander Neundorf <neund...@kde.org>: >> > On Friday 06 August 2010, Eric Noulard wrote: >> > ... >> > >> >> I think I missed the fact that you did not used component GROUPS >> >> at all in the first place :-) >> > >> > Sorry I didn't follow closely... >> > What is this GROUPS thing about ? >> >> see this: >> http://www.vtk.org/Wiki/CMake:Component_Install_With_CPack#Grouping_Compone >>nts > > Thanks, cool :-) > > What would you think about a macro like > > cpack_set_component_properties(<component> PROPERTIES > [DESCRIPTION "Cool stuff"] > [DISPLAY_NAME "HelloWorld"] > [DEPENDS value1;value2] > ... > ) > > I think I could come up with a patch which does that and put that into a > UseCPack.cmake or CPackMacros.cmake file.
Alex, I'm lost :-) Why would be the purpose of such macro? Avoid the multiple CPACK_COMPONENT_${COMPNAME}_XXX var definitions ? I think there is already what we need in CPack.cmake with the cpack_add_component and cpack_add_component_group macros. They do not appear to be used in the example on the Wiki but they do exists. Now even with the use of existing macros, some open issues remains on how to package a set of components or component groups. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers