Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using 'explicit' targets
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-05-15 19:45:42


AMDG

On 05/15/2016 05:32 PM, Edward Diener wrote:
> On 5/15/2016 6:58 PM, Steven Watanabe wrote:
>>
>> $ b2 . expl
>
> That's what I need. Is the use of '.' to mean all non-explicit targets
> documented anywhere ? If not it should be.
>

There's no specific documentation as it isn't
a special case.

http://www.boost.org/build/doc/html/bbv2/overview/invocation.html#bbv2.overview.invocation.targets

http://www.boost.org/build/doc/html/bbv2/reference/definitions.html#bbv2.reference.ids

http://www.boost.org/build/doc/html/bbv2/reference/rules.html#bbv2.reference.rules.explicit

The reason that it works is:
a) Putting a directory on the command line
   builds the project in that directory.
b) Building a project means building
   all non-explicit targets in the project.

Thus, '.' builds all non-explicit targets
in the project in the current working directory.

In Christ,
Steven Watanabe


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