Boost logo

Boost-Build :

From: Norbert Unterberg (nunterberg_at_[hidden])
Date: 2007-05-04 11:32:49


I am trying to copy some additional files from our source folder into
the target location, using the install rule:

path-constant target : build/target_fs/opt/test
path-constant target_lib : $(target)/lib
build-project testapp ;

... builds testapp, depends on the library test

lib test : ....
install $(target_lib) : test ;
install $(target)/share : samles/test.xml ;

When I run bjam from the test folder, then the lib is build and copied to
and the XML file is copied into

But when I run bjam from the project root, I get an error saying:
error: target { common%common.copy-test.xml. { samples/test.xml. } } has
no type

What is going on?

Is there another way to copy files during the install phase, like a copy
rule or something? Or do I need to tell bjam than XML files have a type?
But how would I do this?

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