Boost logo

Boost-Build :

Subject: [Boost-build] Is it possible to find out if a named target exists in a subproject jamfile
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2015-04-03 15:03:42

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?

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