I am building a project with Waf. It has several third-party dependencies, and I would like to build each dependency from my main wscript
. My project is organized like this:
/boost/
/gtest/
/source/
/waf
/wscript
/wscript_boost
/wscript_gtest
Each "dependency" wscript_*
has commands defined, just like my main wscript
.
def options(opt): pass
def configure(conf): pass
def build(bld): pass
If I had put the dependency wscript
files in the dependency folders, I could just call opt.recurse('boost gtest')
, but I don't want to mix my files with third-party files.
Is there any way for my wscript
to call into wscript_boost
and wscript_gtest
?