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
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



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at