|
Boost-Build : |
From: Johannes Brunen (JBrunen_at_[hidden])
Date: 2004-05-03 03:25:36
Hi,
I'm new to this list and have just started to replace a make based build system with the boost build system v2.
I have a problem with the globbing operation. I have a build tree which hasthe following structure:
(Upper case words are directories, lowercase words are files and text between brackets is the file's context.)
ROOT
jamfile (
project-root ;
project ROOT
: requirements <threading>multi
;
PROJECT_ROOT_DIR = . ;
build-project CPP/KERNEL/SYSKERNELl/SYSTEM ;
)
boost-build.jam (
boost-build C:/Development/Libraries/boost/boost/tools/build/v2 ;
)
project-root.jam ()
CPP
KERNEL
SYSKERNEL
SYSTEM
INC
a.hxx
b.hxx
...
SRC
a.cxx
b.cxx
....
jamfile (
project system
: usage-requirements <include>inc
: requirements <link>static
: source-location src
;
lib system : [ glob *.cxx ] ;
)
What I have in mind is that the system lib should be build from all the files in the system's src directory. Especially, I would not like to state thecomplete system
path in the system's jamfile. Is this possible? The above does not work this way. Generally, is this the correct way to build up the jamfiles. I'm notable to change the
structure of the build tree.
For another problem I have, the libraries and objects should be generated in directories named Release, Debug, DebugZi, respectiveley, since I only do
work with the VC++ compiler on the windows platform. How do I force this tobe happen?
Can someone please help me solving the above problem?
With kind regards
Johannes
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