Boost logo

Boost-Build :

Subject: Re: [Boost-build] Is it possible to find out if a named target exists in a subproject jamfile
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-04-03 15:41:13


On 04/03/2015 01:03 PM, Sherwood Hu wrote:
> Hi all,
> I have a project with a dozen sub-projects, with a jamroot under the root and jamfile under each sub-project.
> Most sub-projects have a "stage" target which copied the files to a location. But not all have this target. In order to run "stage" at the top, I have to define:
> alias stage : sub1//stage sub2//stage ... ;
> Is it possible to look into the jamfile of a subproject and put it into this alias programmatically?

It is possible, but you'll need to use a custom target
class instead of using alias.

In Christ,
Steven Watanabe

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