Boost logo

Boost-Build :

From: emildotchevski (emildotchevski_at_[hidden])
Date: 2005-08-04 00:24:42

This is a question about using different cpp files in a given lib
depending on the target platform.

I have the following directory structure:




I would like for the jamfiles of libs under /code/src/... to glob
for cpp files in their folder plus a folder under /code/sys
depending on the target platform and the name of the lib.

For example, I want lib1 on nt to get these sources:


The same lib1 on linux should get these sources:


Ideally this would be set up globally for all libs under /code/src,
so that when a new lib is added as /code/src/newlib, it utomatically
knows to get everything in /code/src/newlib plus anything
in /code/sys/PLATFORMID/newlib.

Since I am new to, please let me know if my set up could
be improved somehow, or if a simple change in the directory
structure would make it easier to get the behavior I need.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at