Boost logo

Boost-Build :

Subject: Re: [Boost-build] Specify the Location of Jamfile?
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2014-12-02 02:49:45


On 12/02/2014 10:45 AM, Alain Miniussi wrote:
> On 02/12/2014 06:39, Vladimir Prus wrote:
>> On 12/02/2014 08:03 AM, Hei Chan wrote:
>>> Hi,
>>>
>>> I am new to bjam.
>>>
>>> I wonder whether it is possible to specify the location of the Jamfile when I run bjam to build.
>>>
>>> By looking at the help page, I don't see such option.
>>
>> Hei,
>>
>> it should be possible to say:
>>
>> ./b2 <directory-where-a-Jamfile-is>
>>
>> to build all targets declared by that Jamfile, or
>>
>> ./b2 <directory-where-a-Jamfile-is>//target
>>
>> to build a particular target.
>>
>> Does that work?
>>
> Is there a way to print a list of all possible targets ?

Not presently, but you can open Jamfile and look at it.

-- 
Vladimir Prus
http://vladimirprus.com

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