On 10/19/07, Josef Karthauser <[EMAIL PROTECTED]> wrote:
>
> Is there a canonical way of matching a filename against a number of
> filetypes?
Just use the STRING(REGEX functions. FILE(GLOB could also work in
some circumstances.
Cheers,
Brandon Van Every
__
Is there a canonical way of matching a filename against a number of
filetypes?
I have a list of files MY_FILES, and I'd like to efficiently extract
those which match a given list of filename extensions, in otherwords
something like this:
SET(ALL_FILES_VAR this.c that.cpp som