Boost logo

Boost-Build :

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
you expect?

Maybe, you've omitted something from your project? It might be easier to just
send entire project as archive file.

- Volodya

Vladimir Prus
Boost.Build V2:

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