|
Boost-Build : |
From: ep1s80 (jimsve_at_[hidden])
Date: 2005-04-18 15:35:16
Hi!
I just recently discovered Boost build (v2). To learn how it works I
have played with some small examples. In the Jamfile below my intention
is to declare two libraries and one main executable. It seems bb cannot
build this because both libraries depend on two different files but
with identical names. If one of the open.cpp is renamed to open2.cpp bb
builds both open.o and open2.o in the bin/gcc/debug sub directory. Is
the really how it is supposed to be? Shouldn't the .o files be placed
in seperate directories foo1 and foo2? Surely two different libraries
in the same project must be able to depend on different but identically
named source files. Maybe this can be solved with sub projects or
something, but, I really like to keep things as simple as possible. Any
comments on this matter are welcom.
# Jamfile
lib libfoo1 : foo1/open.cpp ;
lib libfoo2 : foo2/open.cpp ;
exe main : main.cpp ;
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