Boost logo

Boost-Build :

Subject: [Boost-build] [glob *.cpp] excluding main.cpp
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2011-04-06 06:06:34


Hi,

Sometimes I write a library with many files and want to add a main.cpp
in the same directory for quick testing. Instead of listing all the
*.cpp files for the lib explicitly, would there be a way to specify
all *.cpp files except for main.cpp?

For example:

lib soname
        : [ glob *.cpp ] # exclude main.cpp
        ;

Cheers,
Andrej


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