$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] Custom generator problem
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-11-20 10:14:17
On Tuesday 17 November 2009 16:20:35 Johan Nilsson wrote:
> Hi,
>
> I've been working on a custom generator for some time now, and have it
> mostly working now, with one annoying problem. It appears that using the
> alias rule on a target generated with my generator triggers a "Duplicate
> name of actual target" error.
local copy-target = [ new file-target $(target-base) : : $(project) : $(copy-action) ] ;
copied-targets += $(copy-target) ;
Here, you create a target, and never pass it via virtual-target.register. Every newly created
target must be passed via it.
HTH,
Volodya