Boost logo

Boost-Build :

From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2005-05-19 08:06:57


Hi,

I have a situation where pre-built libraries are getting deleted when
running "bjam clean". I'm using BBv2 from the current CVS.

Basically I have this (simplified, beware of typos):

root
Jamfile
lib
Jamfile
prebuilt.lib
src
mylib
Jamfile
mylib.cpp

in root/Jamfile:

---
use-project
/prebuilt
:
lib//prebuilt
;
build-project src/mylib ;
install lib
:
src/mylib//mylib
:
<install-dependencies>off # just testing, does not help
;
---
in root/lib/Jamfile:
---
lib prebuilt
:
:
<file>prebuilt.lib
;
---
in root/src/mylib/Jamfile:
---
lib mylib
:
mylib.cpp
/prebuilt
;
---
So, when I run bjam clean from the root directory, lib\prebuilt.lib 
disappears as well as lib\mylib.lib.
This only occurs when I include the "install" rule invocation under 
root/Jamfile. I'm using the install rule as I'd like all libraries 
(pre-built as well as included in project) at the same location.
Is this as expected, or?
// Johan 
 

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