|
Boost-Build : |
Subject: Re: [Boost-build] embed manifest file
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-31 14:48:39
AMDG
On 03/31/2014 11:34 AM, tr1gun wrote:
> On 28.03.2014 22:41, Steven Watanabe wrote:
>> <snip>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?
>
To get the path use:
local target = [ feature.get-values ... ] ;
local jam-target = [ $(target).actualize ] ;
(toolset.flags does this for you.)
> 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?
>
It's probably best to use a different action.
In Christ,
Steven Watanabe
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