Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-05-03 08:58:35


"Johannes Brunen" <JBrunen_at_[hidden]> writes:

> 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 has the 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.

Seems like you need

lib system : [ glob SRC/*.cxx ] ;

in that case, no?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
 

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