Subject: [Boost-build] What flavour of regex does MATCH use? Or how do I remap paths?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2016-04-29 01:13:08
I'm trying to create a rule to assist remapping LD_LIBRARY_PATH from the build host to the VxWorks target system.
..might become ..
But I'm not getting anything from the MATCH rule?
rule native-VXWORKS ( path )
local result = $(path) ;
if [ regex.match "(^/?(.*))" : $(path) ] # absolute path.
result = [ sequence.join [ os.environ LAYER_SRC_PATH ] / [ MATCH "(?=bin\.v2).*" : $(path) ] ] ;
return $(result) ;
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk