Boost logo

Boost-Build :

From: Tyson Marchuk (tmarchuk_at_[hidden])
Date: 2005-12-08 16:03:00


Hello all,

Is there an easy way to make a library where the actual source is divided in multiple sub directories?

ie: I have a structure like this:

Base Dir
            |
            ->include
            |
            ->lib
            |
            ->source1
            |
            ->source2
            |
            ->sourceN

I have a script to link all of the header files to the include directory and I'd like to make ONE library from the source in source1 through sourceN. I don't mind if there have to be some sort of project files in each of the source directories, etc. but I'd like to avoid having to refer to all of the source files from a project in the base directory.

Why is the source sub-divided? Mainly to make it easier to modify because there is a lot of source code and the source directories group the source into logical categories. I think Qt does something similar to this too where they sub-divide all of the source but in the end only make one library.

Thanks for any help you guys can provide,
-Tyson Marchuk



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