|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-02 10:24:08
On Wednesday 02 March 2005 18:10, andrewjmcd wrote:
> I have been trying to make an automatic version updater.
>
> Using the excellent documentation for the generator creating
> a python script that increments the build number and produces
> the c code was easy.
>
> Unfortunately I don't know how to automatically 'touch' the
> input file so that it must compile the next time around.
>
> Any suggestions?
Supposing you have
actions timestamp
{
}
....
just add
rule timestamp ( target * : sources * : properties * )
{
ALWAYS $(target) ;
}
HTH,
Volodya
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