|
Boost-Build : |
Subject: Re: [Boost-build] Problem with Install Rule
From: William Marié (william.marie_at_[hidden])
Date: 2008-10-23 17:55:08
Hi Steven,
Thanks a lot for your help, the last you gave works... partially ;) so
effectively the installed libraries are not re-installed every time i
run bjam but it copies them twice, once in the specified installed
directory and once in the current directory so this has no effect in the
example because i installed them in the current directory but if you try
to install them somewhere else you'll see that it keeps installing in
the current directory + the specified directory.
Try it with this code :
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
: source-location
.
;
install system : /boost/system :
<location>./dlls
<install-type>SHARED_LIB
;
install filesystem : /boost/filesystem :
<location>./dlls
<install-type>SHARED_LIB
;
exe test : main.cpp ;
The generated boost dlls end up in both current and dlls directories.
I think the most difficult is done, just need to fix that small issue
and i will be perfect !!!
One more time thank you very you are going to make us save a lot of time
Will
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