Boost logo

Boost-Build :

Subject: Re: [Boost-build] Advanced globbing
From: Markus Lenger (mlenger_at_[hidden])
Date: 2010-12-14 03:59:48


Hi!

Why don´t you put the platform dependent files into separate
sub-directories?

Greetings
Markus

On 2010-12-14 09:50, Emil Dotchevski wrote:
> How can I use glob to get all .cpp and .hpp files in a directory but
> treat file names that contain a dash like follows: if the name is in
> the form *-$(platform)* then I want it included in the glob output
> just like dash-less file names; all other file names with dashes I
> want to be excluded.
>
> For example, if $(platform) expands to "posix", I want files like
> foo.cpp and foo-posix.cpp included in the glob output -- but not
> foo-windows.cpp.
>
> Thanks,
> Emil
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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