|
Boost-Build : |
Subject: Re: [Boost-build] bjam - windows dependency check
From: Konstantin Litvinenko (to.darkangel_at_[hidden])
Date: 2010-04-17 02:05:52
Anant Rao пиÑеÑ:
> If I build it on Windows, MSVC doesnât even look into the header file
> (or what there is) between the above #if and #endif because the #if
> evaluates to false.
>
> My observation with bjam is that it does.
>
> After foo.c is built, if I touch âsome_linux_file.hâ and issue âbjam
> ânâ, bjam says foo.c needs to be built.
>
> Could somebody confirm if itâs designed like that?
Yes, this is normal. BB doesn't use real preprocessor to understand what header actualy used. It
just do grep over sources to find ANY #include.
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