Boost logo

Boost-Build :

From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2005-11-29 12:39:50


If I have a project which I wanted to have as a place holder for a set
of usage-requirements e.g. <include> <define> etc. Can I do it?

I'd like to say

Contents of Jamroot:

use-project /testing : path_to_project ;
use-project /some_application : some_application ;

build-project some_application ;

Contents of some_application/Jamfile.v2:

exe foo : foo.cpp /project ;

Contents of path_to_project/Jamfile.v2:
local includedir = include ;

project testing
    : requirements <include>$(includedir)
    : usage-requirements <include>$(includedir) ;

If the project defines a target say a "lib" then I'd reference that
and be done with it, but at the moment there is no target as its all
header based software, but I don't appear to get the needed <include>

If somebody wants to tell me the the magic google term to find it
thats great also :-)

Thanks

Kevin

-- 
| Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this      |
| Senior Technology                     | My employer for certain |
| And Network Systems Architect         | Not even myself         |

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