Hey,
yes, this would work, but is a bit to manual.
Everyone who uses the package would need
to maintain a exclude list in this case.
Greetings
Janosch
Am 07.06.2016 um 17:12 schrieb Sylvain Joyeux:
> Add the package that you don't want to build in the exclude_packages
> section of autoproj/manifest
>
> Sylvain
>
> On Wed, May 25, 2016 at 9:00 AM, Janosch Machowinski
> <[email protected]> wrote:
>> Hey,
>> I got a somehow weird use case.
>> I got an package, that installs optional headers
>> if other packages are present. I do not want
>> to hard add all other packages as a dependency.
>> Also splitting up the package into multiple packages
>> is not a good way to go.
>>
>> I'm looking for a way to have this package, depend
>> on another package, only if it is already in the list of to
>> build packages.
>> I already tried optional=1, but this pulls in the package,
>> as soon as it is defined, which is not what I want.
>> Any ideas ?
>> Janosch
>>
>> --
>> Dipl. Inf. Janosch Machowinski
>> SAR- & Sicherheitsrobotik
>>
>> Universität Bremen
>> FB 3 - Mathematik und Informatik
>> AG Robotik
>> Robert-Hooke-Straße 1
>> 28359 Bremen, Germany
>>
>> Zentrale: +49 421 178 45-6611
>>
>> Besuchsadresse der Nebengeschäftstelle:
>> Robert-Hooke-Straße 5
>> 28359 Bremen, Germany
>>
>> Tel.: +49 421 178 45-6614
>> Empfang: +49 421 178 45-6600
>> Fax: +49 421 178 45-4150
>> E-Mail: [email protected]
>>
>> Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
>>
>> _______________________________________________
>> Rock-dev mailing list
>> [email protected]
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Dipl. Inf. Janosch Machowinski
SAR- & Sicherheitsrobotik
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-6614
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: [email protected]
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev