Boost logo

Boost-Build :

Subject: [Boost-build] Rule that would modify a file in place
From: Samuel Debionne (samuel.debionne_at_[hidden])
Date: 2015-06-12 05:11:48


Hello,

Is there a way to modify a file in place (unconditionally) with boost
build ?
Here is my use case :

exe myapp : mycode.cpp ;

modify myapp : @install_name_tool : <os>MACOSX ;
actions install_name_tool
{
  install_name_tool -change /opt/local/lib/libtbb.dylib
@executable_name/libtbb.dylib $(<)
}

Thank you,
Samuel


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