Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cuting project in pieces
From: Samuel Debionne (debionne_at_[hidden])
Date: 2011-02-08 11:01:20


Thank you for your prompt answer. I was hoping for something like
"precompiled" properties and dependencies for the parts of the source
code that do not change often (such as third party libraries).

> The only way to do this that I know is to stop
> tracking dependencies through dependent projects.
> Basically, you would need to create a forwarding
> Jamfile like:
>
> if --track-all-dependencies in [ modules.peek : ARGV ]
> {
> use-project mylib : path/to/mylib ;
> }
> else
> {
> project mylib ;
> searched-lib mylib : : <search>... : : /usage-requirements/ ;
> }
>
> Then you can refer to the library as /mylib//mylib.

I'll try something like that. Is there a way to save writing an other
jamefile to compile the libraries used when track-all-dependencies is
not set ?


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