Boost logo

Boost-Build :

From: João Abecasis (jpabecasis_at_[hidden])
Date: 2006-04-14 14:36:52


Rene Rivera wrote:
> João Abecasis wrote:
>> Hi everyone!
>>
>> Playing around with BB and bjam I came across and odd behaviour with the
>> -f option. This option allows one to override the built-in Jambase file
>> with a custom one.
>>
>> When I run 'bjam -ffile', that is without intervening spaces, as
>> documented in --help-usage, bjam will pick file and everything runs
>> smoothly.
>>
>> If, however, I run it as 'bjam -f file', with a space between, bjam will
>> still pick up the file argument appropriately, only this will confuse
>> boost-build into believing file is actually a target to build, thus
>> putting aside other targets:
>>
>> > bjam
>> ...found 187 targets...
>> > bjam -f Jambase
>> ...found 2 targets...
>>
>> Is this intended?
>
> Hm, no. It should not consider that name a target. Could you post a bug
> to the SF tracker about this, for future TODO and reference. Assign it
> to me :-)

Would a working patch help? (see attached)

Is this the right approach and can it be applied to CVS?

Best regards,

João




Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk