Boost logo

Boost-Build :

Subject: Re: [Boost-build] forcing regeneration of intermediate files
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-03-09 02:15:30


On 08-Mar-16 7:27 PM, Renaud Lepère wrote:
>
> 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 ?

Renaud,

the best way we have now is documented at:

    http://boost.2283326.n4.nabble.com/Automatic-version-number-or-build-id-tp4680192p4680429.html

See my last post at the bottom of the page - could you give that a try?

Thanks,

-- 
Vladimir Prus
http://vladimirprus.com

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