Hi

This is the answer to my earlier post, where I asked if there was any additional  feature that would skip tests specifically designated as <link>shared.  I was a little annoyed that

 

cd status

../b2 link=static

 

did not do this.

 

In my case I have some processor configurations where VxWorks does not support shared libraries, and every test with a shared link will fail. So I’d like to skip those tests. 

 

My solution was to add a feature to my

project-config.jam

 

feature.feature static-only

    : on

    : optional composite propagated

    ;

 

feature.compose <static-only>on

    :  <link>static

    ;

 

project : requirements  <static-only>on,<link>shared:<build>no ;

 

 

Then

 

./b2  static-only=on

 

Does what I need.

 

Brian Kuhl

Wind River