Boost logo

Boost :

Subject: Re: [boost] [build] Headers rule does both too much and too little
From: Peter Dimov (lists_at_[hidden])
Date: 2014-02-18 09:00:02


John Maddock wrote:
> If I build the type_traits tests so everything is up to date, and then
> touch say type_with_alignment.hpp, then in libs/type_traits/test do:
>
> bjam add_const_test
>
> And for some strange reason bjam thinks there's a dependency on
> type_with_alignment.hpp from add_const_test, and there really isn't.

You have #include "check_type.hpp" in add_const_test.cpp, and in
check_type.hpp you have #include <boost/test/test_tools.hpp>, and from then
on, you can imagine what happens.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk