|
Boost-Build : |
Subject: Re: [Boost-build] Problem with Install Rule
From: William Marié (william.marie_at_[hidden])
Date: 2008-10-21 07:17:41
Vladimir Prus a écrit :
> On Tuesday 21 October 2008 15:04:23 William Marié wrote:
>
>> arrff sorry i just realised that the output.txt wasn't right
>>
>
> Yes; I was just about to <strike>give you a call</strike> ask for
> clarification.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
Ok it seems to repeatable, i added another dependency : thread
use-project boost : ../source/trunk/libs/boost ;
# Project Configuration
project
: build-dir build
: requirements
<include>.
<dependency>/boost/thread/<link>shared
<dependency>/boost/date_time/<link>shared
<dependency>/boost/filesystem/<link>shared
<dependency>/boost/system/<link>shared
: source-location
.
;
install thread : /boost/thread :
<location>.
<install-type>SHARED_LIB
;
install date_time : /boost/date_time :
<location>.
<install-type>SHARED_LIB
;
install system : /boost/system :
<location>.
<install-type>SHARED_LIB
;
install filesystem : /boost/filesystem :
<location>.
<install-type>SHARED_LIB
;
exe test : main.cpp ;
And now date_time, filesystem and system are reinstalled every time
But if i delete the boost/bin.v2 directory and try again, this time bjam
reinstalled thread, date_time and system every time
AMAZING ... so now i changed the order of the dependencies and the
install rules :
use-project boost : ../source/trunk/libs/boost ;
# Project Configuration
project
: build-dir build
: requirements
<include>.
<dependency>/boost/filesystem/<link>shared
<dependency>/boost/system/<link>shared
<dependency>/boost/thread/<link>shared
<dependency>/boost/date_time/<link>shared
: source-location
.
;
install system : /boost/system :
<location>.
<install-type>SHARED_LIB
;
install filesystem : /boost/filesystem :
<location>.
<install-type>SHARED_LIB
;
install thread : /boost/thread :
<location>.
<install-type>SHARED_LIB
;
install date_time : /boost/date_time :
<location>.
<install-type>SHARED_LIB
;
lib test : main.cpp ;
Like before i deleted the boost/bin.v2 and now bjam reinstalled
filesystem, date_time and system every time
What can i say..... confusing :)
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