标签: bjam boost-bjam b2
我当前正在使用此操作:
actions re2c { re2c --tags -o `basename $(<)` $(>) }
但是我想改用path.basename规则。大致情况:
path.basename
rule re2c ( targets * : sources * : properties * ) { import path ; targets = [ path.basename $(targets) ] ; }
这种方法对我不起作用。