[Rock-dev] override cmake packages
Sascha Arnold
sascha.arnold at dfki.de
Tue Jul 9 13:48:00 CEST 2013
Am 09.07.2013 10:34, schrieb Sylvain Joyeux:
> On 07/08/2013 07:22 PM, Sascha Arnold wrote:
>>
>> Hi,
>> I need to override two packages in the spacebot package set normally
>> provided in the rock package set.
>>
>> I already overrode them in the source.yml and also applied own patches.
>> So far it works, but then it won't apply the flags defined in
>> cmake_package in libs.autobuild witch are still defined in rock.
>> And if I redefine them in the libs.autobuild of the spacebot package
>> set I get the message that I have two definitions and that the one
>> from rock will be used.
>>
> - if you only want to override the source information, you do not
> need to redefine the package in spacebot's autobuild files. Simply add
> the updated source information in the overrides: section of source.yml
That is exactly what I did. It just doesn't apply the configurations
done in cmake_package then. Btw I'm working in next.
> - if you do want to change how the package is configured, you should
> use setup_package
>
> setup_package 'package_name' do |pkg|
> # Do stuff here
> end
I tried that now in libs.autobuild of the spacebot package_set but it
doesn't seem to work.
>
> This will allow you to modify the original configuration. You should
> redefine the package using cmake_package, ... only if you want to
> completely replace the configuration.
> --
> Sylvain Joyeux (Dr.Ing.)
> Senior Researcher
>
> Space & Security Robotics
> Underwater Robotics
>
> !!! Achtung, neue Telefonnummer!!!
>
> Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Phone: +49 (0)421 178-454136
> Fax: +49 (0)421 218-454150
> E-Mail:robotik at dfki.de
>
> Weitere Informationen:http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.: DE 148646973
> Steuernummer: 19/673/0060/3
> -----------------------------------------------------------------------
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130709/9cf586ed/attachment.htm
More information about the Rock-dev
mailing list