Boost logo

Boost-Build :

From: Daniel Holth (dholth_at_[hidden])
Date: 2005-04-21 21:50:40


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

In boost.build v1, boost 1.32.0, I want to share a template between .
and ./src like this, in a project called relative-paths, but I don't
understand how to do it properly. This modifies my relative-paths
example from before that I had uploaded to the yahoo groups file section :

./Jamfile :

project-root ;
subinclude src ;

template horrific
~ :
~ <dll>@boost/libs/python/build/boost_python
~ :
~ <threading>multi
~ ;

./src/Jamfile :

subproject src ;

exe sub : subproject.c <template>@relative-paths/horrific :
<include>@relative-paths/include ;

- ----

Assume I have other sources in . that compile nicely with the horrific
template. I hoped the subproject in src/ could share those options, but
instead I get this error:

/home/dholth/prog/relative-paths/@boost/libs/python/build/Jamfile: No
such file or directory
unknown dependent target
<@relative-paths!@boost!libs!python!build>libboost_python.so

I've also tried putting all kinds of *.jam, Jamrules, etc. in the
subdirectory but it doesn't seem to help. Is this easier in v2 or is
there some correct way to do it in v1?

Thanks,

Daniel Holth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCaGaAVh4W2pVfoMsRAsuzAJwL3/68vU2L9nLhF02ZFieTheJ9GgCgq53v
mh06t5/teHFd1cx9n8twkkk=
=UKVY
-----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