According to the docs, bjam's glob operator accepts a 2nd argument which specifies a pattern to exclude, like so:
[ glob pattern : exclude ]
However bjam gives me an error complaining about the 2nd argument. It may be that my bjam version is too old. Would anyone know at what version this 'exclude' feature was added? I'm using 3.1.17.