Boost logo

Boost-Build :

From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2007-08-09 18:50:38


Vladimir Prus schrieb:
> ALWAYS is low-level bjam builtin that applies to low-level
> bjam targets. It does not work for Boost.Build targets.

What is a "low-level bjam target"? ALWAYS doesn't work on source files.
But would intermediate generated targets work?

I'm defining a new source file type which can be translated to a
resource script ".rc". This ".rc" file includes svn version information
and I need to generate a new one not based on file timestamps but on
"svnversion" information. This version can just change without bjam
noticing it. So I would prefer bjam to just rebuild the file every time.

So the general question is: How can I teach bjam to update files based
on an arbitrary function instead of a timestamp test.

> I'm afraid we don't have any easy way to get this functionality.

Is this already the answer?

Meanwhile I'll try to use Phillip's idea of removing the generated file.

Frank


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