Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling a single file
From: Matthew Chambers (matt.chambers42_at_[hidden])
Date: 2012-04-12 12:44:43


I think that "test.obj" only works because it's the exact path of low level jam target. AFAIK, such
targets are identified by their build path, not the the source path basename + .obj. If you want to
address obj targets in such a way, you do need to use the obj metatargets explicitly. May I ask why
you want to do be able to build only a single obj?

-Matt

On 4/12/2012 3:00 AM, Mateusz Loskot wrote:
> On 11 April 2012 20:06, Nogradi, Chris<Chris.Nogradi_at_[hidden]> wrote:
>>
>> Command that don’t appear to work:
>>
>> bjam /TEST//test.obj
>> bjam DIR/test.obj
>> bjam DIR//test.obj
>>
>> which all get something like this:
>>
>> notice: could not find main target DIR//file.obj
>> notice: assuming it is a name of file to create.
>> don't know how to make<e>DIR//file.obj
>> ...found 1 target...
>> ...can't find 1 target...
>
> Hi Chris,
>
> I regret, my knowledge about Boost.Build is too limited and I'm useless here.
>
> Best regards


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