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/generators-test/qt.jam

import modules ;

if [ modules.peek : NT ]
{
    comment = // ;
}
else
{
    comment = \"//\" ;
}

rule uic ( target : sources * : properties * )
{
    comment on $(<) = $(comment) ;
}
rule uic-h ( target : sources * : properties * )
{
    comment on $(<) = $(comment) ;
}

actions uic 
{
    echo $(comment) $(>) > $(<)
}

actions uic-h
{
    echo $(comment) $(>) > $(<)
}