Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using 'explicit' targets
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-05-16 10:00:07


On 05/16/2016 03:02 AM, Edward Diener wrote:
> This is not documented as far as I can see. In particular:
> target-id -> (project-id | target-name | file-name )
> | (project-id | directory-name) "//" target-name
> tells me that directory-name must be followed by "//" and a target name
> to be valid. Instead you are now saying that directory-name alone is a
> valid target-id.

  You're right. The documentation is wrong
here. Any place that takes a project-id also
accepts a directory.

alias system : ../boost-git/libs/system/build ;

I've updated the documentation and also
fixed a few other errors.

- The order of checking is target-name, then
  file-name, then project-id, then directory-name,
  not project-id, then target-name as the documentation

The implementation actually supports
(project-id | directory-name) "//" target-id
However, I've left this extra generality
undocumented for now, as I've never seen
any need for it outside of Boost.Build

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at