|
Boost-Build : |
Subject: Re: [Boost-build] Problem with Install Rule
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-21 06:13:29
On Tuesday 21 October 2008 13:22:05 William Marié wrote:
>
> Hi,
>
> I have a problem with a really simple code, bjam keeps installing targets
> even if they are up to date :
>
> Here are the files i'm using :
>
> boost-build.jam
> boost-build ../source/trunk/libs/boost/tools/build/v2/kernel ;
>
>
> Jamroot
> use-project boost : ../source/trunk/libs/boost ;
>
> # Project Configuration
> project
> : build-dir build
> : requirements
> <include>.
> <dependency>/boost/system/<link>shared
> <dependency>/boost/filesystem/<link>shared
>
> : source-location
> .
> ;
>
> install system : /boost/system :
> <location>.
>
> <install-type>SHARED_LIB
> ;
>
> install filesystem : /boost/filesystem :
> <location>.
>
> <install-type>SHARED_LIB
> ;
>
> lib test : main.cpp ;
>
>
> main.cpp
> void main(int argc, char** argv )
> {
>
> }
>
>
> I'm using the actual boost trunk.
>
> if you try to run bjam with these files it will always re-install
> boost-system, and then relink test.dll
>
> Can someone tell me if this behavior is normal and what do i have to do to
> make it work properly ?
I don't get this behaviour, but I'm on linux. Does removing either filesystem,
or system, from Jamfile still exposes the problem? I would like to find a
minimal project. Can you add -d+12 option to bjam invocation that should do
nothing, but installs those extra files and post it? What version of bjam
are you using? What are the timestamps of the boost.system library that is
installed, and the one that is built?
- Volodya
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