$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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