|
Boost-Build : |
Subject: Re: [Boost-build] Specify the Location of Jamfile?
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2014-12-02 04:16:42
On 12/02/2014 10:53 AM, Alain Miniussi wrote:
> On 02/12/2014 08:49, Vladimir Prus wrote:
>> 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.
>
> I tried that with mpi test and could not find target names.
mpi test Jamfile has this:
if [ mpi.configured ]
{
test-suite mpi
:
[ mpi-test all_gather_test ]
[ mpi-test all_reduce_test ]
Things like all_gather_test are the target names. Is something not working? Note that these targets are
only defined if MPI is configured.
-- 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