Boost logo

Boost-Build :

Subject: [Boost-build] forcing regeneration of intermediate files
From: Renaud Lepère (lepere.renaud_at_[hidden])
Date: 2016-03-08 11:27:05


I would like to add build informations (date, version control) in one
library.
I have added a generator to generate a cpp file from a hginfo file.

In hginfo
...
generators.register-standard hginfo.hgpp : HGINFO : CPP ;

In Jamfile
import hginfo ;
obj version.obj : version.hginfo ;

I would like to always regenerate the cpp (because it contains date, and
version control information),
what is the good way to do that ?

I have tried
explicit version.obj ;
but this only recompiles version.cpp

Thanks,

Renaud


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