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


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


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