Boost logo

Boost-Build :

From: Norbert Unterberg (nunterberg_at_[hidden])
Date: 2007-08-21 09:16:04

Vladimir Prus wrote:

>> The exclude pattern
>> [ glob *.cpp : dont_use.cpp ]
>> still does not seem to work on the current boost 1.34.0 release.
>> Did you fix it only on trunk, and not in the 1.34 branch?
>> Can this be fixed for 1.34.1?
> The change appears to be in 1.34.1? What do you mean by "does not seem to work".
> Can you post a small project (as archive) reproducing this problem?


I managed to build a small demo project to show the problem. See
attached test.tgz file.

Extract the file and go into the test directory. Edit the
boost-build.jam to reflect your boost build location.

# test/Jamroot
build-project p ;

# test/p/Jamfile
exe p :
   [ glob *.c : p_x.c ]

If you issue a
        bjam --toolset=gcc -a
then just p.c is compiled, very well.

But if you cd into the p folder and run bjam there:

        cd p
        bjam --toolset=gcc -a

Then both p.c and p_x.c are compiled.

I am using boost 1.34.0 with
Boost.Build V2 (Milestone 11)
Boost.Kam 03.1.14

I have checked, there is no signifcant difference between boost build
from boost 1.34.0 and 1.34.1.

Maybe you can have a look at it?

Thank you
Norbert Unterberg

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at