2010/7/21 Olaf van der Spek <[email protected]>:
> On Wed, Jul 21, 2010 at 5:39 PM, Droscy <[email protected]> wrote:
>> Hi Olaf,
>>
>> Olaf van der Spek ha scritto:
>>> Could this be changed to "xbt-tracker_0.1.1_i386.deb"?
>>>
>> I'm using the following code to obtain a correct debian-name
>
> Looks good, but this should really be part of the generator.

There is a bug report for that trouble:
http://public.kitware.com/Bug/view.php?id=9900

Currently there is no way to have a CPack Generator specific override
done by the specific generator.

However the user may choose the name by setting
CPACK_PACKAGE_FILE_NAME
in its CMakeLists.txt (as in the Droscy's example).

The limitation here is that you cannot generate 2 differents packages
(say RPM and DEB) with different naming convention
on the same host. (or you need at least two differents build trees).

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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

Reply via email to