Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

tools/build/v2/test/project-test3/project-root.jam


import gcc ;
import property ;

rule yfc-compile ( target : sources * : property-set * )
{
    PROPERTIES on $(target) = [ 
      property.as-path [ property.remove incidental : $(property-set) ] ] ;
}

actions yfc-compile
{
    echo $(PROPERTIES) > $(<)
    echo $(>) >> $(<)
}

rule yfc-link ( target : sources * : property-set * )
{
    PROPERTIES on $(target) = [ 
      property.as-path [ property.remove incidental : $(property-set) ] ] ;      
}

actions yfc-link
{
    echo $(PROPERTIES) > $(<)
    echo $(>) >> $(<)
}


IMPORT $(__name__) : yfc-compile yfc-link : : yfc-compile yfc-link ;