[CMake] Support for multiple components in cpack

Eric Noulard eric.noulard at gmail.com
Thu Aug 5 18:48:36 EDT 2010


2010/8/4 Kishore <kitts.mailinglists at gmail.com>:
> On Monday 02 Aug 2010 4:59:47 pm Eric Noulard wrote:
>> Hi All,
>>
>> I did add a patch for the "multiple file problem"
>> http://public.kitware.com/Bug/view.php?id=10736
>>
>> May be interested people can have a try and comment
>> this patch.
>>
>> It adds the possibility  for any CPack generators to generate multiple
>> file. It adds "preliminary" support for component to all "Archive
>> Generators" (ZIP, TGZ, STGZ etc...) as an example of use.
>>
>> The change is "backward compatible" in the sense that if
>> all CPack generators (but the archive one) behaves as before
>> with either componentized  project or not.
>>
>> Waiting for feedback before going on
>
> Thanks. It just tried this and it works as claimed. Later today, i will
> inspect the generated packages on a windows machine too.

Do you have feedback on WIndows?

> Ps: Excited, I tried building a DEB package with this patch thinking that it
> would result in multiple packages. I then reread the post and consoled myself
> that although DEB is also really an archive... the patch does not work on it!

DEB (or RPM) support is not done yet.
I'd like to reach a consensus and approval on ArchiveGenerator before going
on with other generators.

I would accept testing patch too :-)

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list