From: David Abrahams (dave_at_[hidden])
Date: 2006-01-20 17:41:17
Nicolas Fleury <nidoizo_at_[hidden]> writes:
> David Abrahams wrote:
>>>Is there any equivalent to -g (build more recent file instead of first
>>>one met in jamfile)
>> I don't understand what that means. Can you give an example?
> From the doc of Perforce Jam:
> -g: Build targets with the newest sources first, rather than in the
> order of appearance in the Jambase/Jamfiles.
> The -g flag reorders builds so that targets with newest sources are
> built first. Normally, they are built in the order of appearance in the
> I don't know how Boost.Jam behaves. I assumed it was forked from
> Perforce Jam before introduction of -g flag.
> This flag can be useful if you're modifying a .hpp/.cpp pair. Since the
> .cpp is more recent than other .cpp depending on the same .hpp, it is
> the one that will be compiled first, instead of order of appearance in
Yeah, I think I suggested something like this for Scons once.
> It is an interesting setting avoiding the necessity to specify an .obj
> target manually (and particularly useful since Visual Studio makefile
> projects don't allow configuration of compilation of a single source file).
Patches are welcome, I'm sure :)
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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