[CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Feb 8 12:56:47 EST 2011


Hi Eric,

  Thanks a bunch for your tremendous work !
  Quick question would this means that the warning will also go away:

"CPack warning: both CPACK_COMPONENTS_ALL and CPACK_MONOLITHIC_INSTALL
have been set."

  AFAIK  CPACK_COMPONENTS_ALL is required to be set to list all
different components, but I still need  CPACK_MONOLITHIC_INSTALL for
backward compatibility.

Thanks again for your work !

On Tue, Feb 8, 2011 at 6:50 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
> 2011/2/8 Mathieu Malaterre <mathieu.malaterre at gmail.com>:
>> All,
>>
>>  I am trying to generate binary zip of my project using CPack 3.8.3
>> and looks like now it generates two zip files where each file has the
>> name of the group. Did anyone noticed this change ? How do I revert it
>> back to the old behavior all groups in the same binary zip file ?
>
> My fault.
>
> This is a backward compatibility breakage which is fixed in
> current 2.8.4 rc.
>
> see:
> http://public.kitware.com/Bug/view.php?id=11452
>
> and updated component packaging documentation:
> http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack#Controlling_packaging_of_component-aware_generators
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>



-- 
Mathieu


More information about the CMake mailing list