Boost logo

Boost-Build :

Subject: Re: [Boost-build] Installing directories and sub dirs in Jamroot
From: Juraj Ivančić (juraj.ivancic_at_[hidden])
Date: 2009-10-14 17:18:47

Clovis Olson wrote:

> I am receiving duplicate name:
> /usr/share/boost-build/build/virtual-target.jam:1032: in
> virtual-target.register-actual-name from module virtual-target
> error: Duplicate name of actual target:
> <pdist/release/tests/unit1>testresult.txt
> error: previous virtual target { common%common.copy-testresult.txt. {
> tests/unit1/100/testresult.txt. } }
> error: created from ./testcopy
> error: another virtual target { common%common.copy-testresult.txt. {
> tests/unit1/200/testresult.txt. } }
> error: created from ./testcopy
> error: added properties: none
> error: removed properties: none
> Is there a way to get around this?

Please don't top-post. This error means that there are two targets which
produce the same file. This occurs because install rule by default
copies files without preserving directory hierarchy. To preserve
hierarchy you must specify <install-source-root>.

Section "Preserving Directory Hierarchy".


install dataToCopy
     [ path.glob-tree /path/aaa : *.* ]

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