|
Boost-Build : |
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-10-19 13:13:56
Reece Dunn wrote:
> [3] This is more a BBv2/bjam issue: when scanning for dependencies, it
> only scans one level deep, so doesn't pick up things like:
>
> mycomobj.cpp
> #include "stdafx.h"
>
> stdafx.h
> #include "myidl.h"
>
> so myidl will be built after mycomobj!
In this case the dependency graph looks like this:
---- <p../core-object(c-scanner)@134>mycomobj.cpp <p../core>mycomobj.cpp <object(c-scanner)@134#..\core>stdafx.h <object(c-scanner)@134#..\core>myidl.h myidl.h <p..\core\bin\msvc-8.0\debug>myidl.h <p../core-object(midl-scanner)@131>myidl.idl <p../core>myidl.idl ---- There is no link between mycomobj.cpp and myidl.idl. One of the reasons is presence of 'c-scanner' and 'midl-scanner' in grists. Vladimir, do you know why we need to put scanner type in the grist? Best regards/Venlig hilsen, Alexey Pakhunov.
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