Boost logo

Boost-Build :

Subject: Re: [Boost-build] Install map file
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-05-16 18:18:36


On 05/16/2016 08:17 AM, Paulo Márcio Figueiredo Alves wrote:
> I would like to copy .map file using install rule, but the file is generate
> using <linkflags>/MAP so it is not a registered target and thus not copied.
> How to solve that?

You can define it as a target with a null
action that depends on the exe.

[warning untested]

exe foo : foo.cpp : <linkflags>/MAP ;
make : foo : @null-action ;

rule null-action { }

In Christ,
Steven Watanabe

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