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) $(>) > $(<)
}