Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to add file version info to boost binaries
From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2012-06-27 14:53:49


   Hi.

> It works well, but the binaries that are produced have no version
> information associated with them.
> For instance, on Windows, when I right-click on
> boost_iostreams-vc100-mt-1_45.dll and select "properties", there is no
> version tab.
>
> How can I put version information into these binaries during the build?

   I do not recall there being a built-in switch to add such
information. But it boils down to preparing a resource file with the
desired version information and having Boost Build recognize that
resource file as a source for your dlls.

   Try playing around with it to get it working for your own single dll,
then try and see what would be needed to get it added to a single Boost
library dll (with as few changes as possible to the library's build
system itself), and then if there is a way to somehow do this
automatically for all the libraries.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić


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