[CMake] Support for multiple components in cpack

Kishore kitts.mailinglists at gmail.com
Tue Aug 3 22:00:17 EDT 2010


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.
-- 
Cheers!
Kishore

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! 
:)


More information about the CMake mailing list