[CMake] Support for multiple components in cpack

Chris Wolf cw10025 at gmail.com
Wed Aug 11 23:31:42 EDT 2010



On 8/11/10 5:39 PM, Eric Noulard wrote:
> 2010/8/11 Thawan Kooburat <kthawan at gmail.com>:
>> Hi Eric,
>>
>> I read though this thread and also two bug reports related to this issue.
>>
>> It seems like it will take a while because of CPack design issue. Do
>> you think there will be any workaround or small hack to make this work
>> with current CPackRPM?
> 
> I think it can go faster than you think :-)
> 
> The builtin CPack API design issue has just been fixed
> and merged to next:
> http://cmake.org/gitweb?p=cmake.git;a=log;h=632c2659
> 
> So this should end-up in next CMake release.
> 
> The redesigned API
> let the specific generator decide the number AND the name
> of the generated packages.
> 
> Now I will rebase my previous patchset for ArchiveGenerators
> based on that new API.
> 
> Then after that I will tackle the RPM and DEB.
> 
> As usual, I cannot ensure any deadlines for those two but if you
> want to help you can checkout next and propose some patches
> for RPM component support. There shouldn't be any design issue
> left now.
> 

Just to re-affirm with cmake-2.8.2 - multiple component packages works with PackageMaker
generator for MacOS.   The same cmake/cpack files create DEB and RPM 
packages, but there are no components - these just contain everything.


  -Chris


More information about the CMake mailing list