I have a folder IntegrationArea
and a project, main
, composed of 2 sub-projects, a
and b
, that looks like below:
IntegrationArea
main
|
a
|
wscript
|
b
|
wscript
|
wscript
Running waf build
in main/a
builds the artifatcs in a/build
. Running waf install
from the main/a
installs the artifacts from a/build
into the IntegrationArea
. So, after the build, the artifacts are available for the build of main/b
.
How can I write main/wscript
so that running waf build
from main
results in the followings:
cd a; waf build; waf install
cd ../b; waf build; waf install
I would need main/wscript
to contain something like
bld.cmd=('build install')
bld.recurse('a b')