|
Boost-Build : |
From: Norbert Unterberg (nunterberg_at_[hidden])
Date: 2007-05-04 11:32:49
Hi
I am trying to copy some additional files from our source folder into
the target location, using the install rule:
Jamroot:
...
path-constant target : build/target_fs/opt/test
path-constant target_lib : $(target)/lib
build-project testapp ;
testapp/Jamfile:
... builds testapp, depends on the library test
test/Jamfile:
...
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
build/target_fs/opt/test/lib
and the XML file is copied into
build/target_fs/opt/test/share
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 acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk