Boost logo

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, david.abrahams at, gregod at, cpdaniel at, john at