[CMake] Better handling of library dependencies for CPack

Rosen Diankov rosen.diankov at gmail.com
Tue May 3 01:20:39 EDT 2011


Basically, the decision to use codenames is because the changelog
files use codenames. If OpenSuse control logs use versions, then using
X_DEPENDS_OPENSUSE_11_4 is perfectly natural. However i doubt this is
the case.

..and we can always support both ways of writing...

rosen,

2011/5/3 Rosen Diankov <rosen.diankov at gmail.com>:
> As far as i know, the debian changelog file takes in a codename, not a
> version number...
>
> It can also take 'unstable' as the distro name, but for some reason
> launchpad will reject those.
>
> if you want to specify distros by versions numbers, then we would need
> to store a mapping of all versions to codenames inside
> DebSourcePPA.cmake..
>
> rosen,
>
> 2011/5/1 Rolf Eike Beer <eike at sf-mail.de>:
>> On Sa., 30. Apr. 2011 11:51:58 CEST, Rosen Diankov <rosen.diankov at gmail.com> wrote:
>>
>>> Hi guys,
>>>
>>> Since there was no object to the proposed dependency method, we
>>> completed the DebSourcePPA.cmake script and created a tracker for it:
>>>
>>> http://www.cmake.org/Bug/view.php?id=12141
>>>
>>> should be able to do stuff like:
>>>
>>> CPACK_DEBIAN_PACKAGE_DEPENDS_UBUNTU_LUCID
>>> CPACK_DEBIAN_PACKAGE_DEPENDS_UBUNTU
>>> CPACK_DEBIAN_PACKAGE_DEPENDS
>>
>> I don't know if it's a wise idea to use the distro codenames. I as a non-Ubuntu developer have no idea about them without looking them up and would prefer to use version numbers here as for every other distro. What do others think?
>>
>> Eike
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>


More information about the CMake mailing list