Boost logo

Boost-Build :

Subject: [Boost-build] Nested projects
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2009-09-14 15:05:06


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Is it currently possible to nest a complete, seperately compilable
project inside a boost.build project. Say I have a library, foo, that
can be seperately compiled using boost.build. I use a "externals"
facility to get a given revision of foo into a nested externals or
vendor folder under a project that uses foo.

<~/dev/bar>
   + jamroot.jam
   + src
   | + jamfile.jam
   | + *.cpp
   | - *.hpp
   - externals
      - foo
         + jamroot.jam
         - src
            + jamfile.jam
            + *.cpp
            - *.hpp

How would you do this with Boost.Build? I tried the naïve approach and
get bitten by an error along the lines of "warning: rulename
$($(project).attributes).get expands to empty string".

Ideas?

 /Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkquk+IACgkQk1tAOprY6QFCmgCdENWmUntkfwVc6xKW7G9FvPCz
LMMAnRSbOOwXCb3ORhItLjPiUSB7D4V/
=I/a+
-----END PGP SIGNATURE-----


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk