From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-12 01:58:02
On Friday 07 July 2006 17:21, Klaus Nowikow wrote:
> I am trying to create a customized install rule - package.install
> does not fit my needs. So I copied package.install and changed it
> to what I need. The problem is that my rule does not work with
> 'explicit' - it is called every time I perform a build.
> # file Jamroot
> import test ;
> test.install installtest : [ exe hello : test.cpp ] ;
> explicit installtest ;
> # EOF
the behaviour I see is a bit different from you.
I see the hello is built. The reason is that 'explicit' is not propagated to
source targets. The above is the same as if you'd written:
exe hello : test.cpp ;
test.install installtest : hello ;
without 'explicit' for 'hello'. So, hello is built. Probably, we should be
making inline target explicit automatically, but I'm not sure.
On the other hand, I don't see common.copy action executed. I've just tried
with a freshly downloaded nightly build, and see no common.copy action still.
Maybe, you're not using the nightly build? Can you run "bjam
--debug-configuration" to make sure Boost.Build is loaded from the location
Maybe, you've omitted something from your project? It might be easier to just
send entire project as archive file.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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