I confirmed this problem on my system.

lib : : <conditional>@sources ;

when "bjamed" does nothing other than indicate nnn targets found.  Change this to:

exe : : <conditional>@sources ;

causes the sources returned by [ sources ] to be compiled.

Anyone have a fix?   I was hoping to exploit this feature.

Regards,
Mark

Jaroslav Gresula <jgresula@seznam.cz> wrote:
It seems to me that the feature does not work for lib targets.