On Thu, Aug 7, 2008 at 6:24 AM, Yann Cointepas <[EMAIL PROTECTED]> wrote:
> Thank you for your answers. I have been able to create macros (see below) to
> replace cpack_add_component_group and cpack_add_component. These macros call
> the corresponding cpack macro and create install-${group-component} and
> install-${group} targets with appropriate dependencies.Great! I suggest that you consider writing a patch for the CPack module that adds this functionality to cpack_add_component and cpack_add_component_group, so that others can benefit from this. Eventually, you would then be able to eliminate the SOMA_ADD_COMPONENT and SOMA_ADD_COMPONENT_GROUP macros, since CPack will already provide the functionality you need. Also, you probably want SOME_ADD_COMPONENT to walk the dependencies of each component (the DEPENDS argument to cpack_add_component) and make sure that all dependencies are also installed. - Doug _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
