如何在bjam中使用path.basename?

时间:2019-07-06 11:03:52

标签: bjam boost-bjam b2

我当前正在使用此操作:

actions re2c {
  re2c --tags -o `basename $(<)` $(>)
}

但是我想改用path.basename规则。大致情况:

rule re2c ( targets * : sources * : properties * )
{
  import path ;
  targets = [ path.basename $(targets) ] ;
}

这种方法对我不起作用。

0 个答案:

没有答案