Subject: Re: [Boost-build] prebuild step and "make" rule questions
From: Matthew Chambers (matthew.chambers_at_[hidden])
Date: 2009-09-18 14:32:04
1. You seem to already be doing this with #2. You can also copy the file
with a SHELL call while parsing the Jamfiles, but if it's a source file
the current bjam has a bug that sometimes won't let you use it (because
it caches the results of scanning directories).
2. The <location> feature in requirements will set the output location
of the made targets. <location>. will be the current Jamfile's directory.
Fadi Beyrouti wrote:
> Hello, I am a newbie to boost build and I am sure the questions I will be asking
> have been asked before in one way or another, but I wasn't very lucky with my
> search results. So sorry if you have seen this before.
> 1. In MSVC there we can run-a prebuild event, like for instance copying a file
> from directory X to directory Y. What is the easiest way to express this in
> boost build when I want to compile a library for instance? (with the "lib" rule)
> 2. I am trying to use the "make" rule to actually copy a file from directory X
> to the current directory in which the jamfile exists but boost build is actually
> copying the file to bin\msvc-9.0\debug\threading-multi which is really not what
> I want. What can I do to make it achieve what I am after?
> Thanks for your time.
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