Boost logo

Boost-Build :

Subject: Re: [Boost-build] embed manifest file
From: tr1gun (tr1gun_at_[hidden])
Date: 2014-03-31 14:34:03


On 28.03.2014 22:41, Steven Watanabe wrote:
> AMDG
>
> On 03/28/2014 01:49 PM, tr1gun wrote:
>>
>> The problem i faced that the properties variable in the link / link.dll
>> rule is only a raw string and the file target for embed-manifest-file is
>> lost.
>
> What do you mean by a "raw string?" The list of
> properties should contain <embed-manifest-file>object(file-target)@NNNNN
> which you can extract with
> [ feature.get-values <embed-manifest-file> : $(properties) ]
>

What i missed to "dereference" the resulting string. Can i access the
path for the file-target in the rule and pass it to the manifest action?

At the moment i'm using

> flags msvc.manifest MANIFEST_FILE <embed-manifest-file> ;

Should i check in the action if the MANIFEST_FILE is empty and use the
default behavior or is it desirable to switch the called action in the
link/link.dll rule?

Best regards,

Bernhard


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