[CMake] Regular Expression weirdness (2.6 & 2.8RC3)

L.M. de Vries luis.de.vries at upc.edu
Wed Oct 28 05:27:45 EDT 2009


Ah yes, you are right.
Thanks for explaining...and sorry for noise. :-)

Greetings,

LM

Marcel Loose wrote:
> Hi Luis,
>
> The way I'm reading the globbing expression -- which is not identical to
> a regex, BTW -- the output makes perfect sense.
>
> In HDR1 you collect all filenames that start with 'Spatial/csp'; then
> contain zero or more wildcard characters; then the last character before
> the dot should *not* be any of the characters 'c', 'o', 'n', 'f', 'i',
> or 'g'; finally the name should end in '.h'.
>
> So, HDR1 does not contain cspacedef.h because the last character before
> the '.h' is an 'f', which is one of the "forbidden" characters in the
> glob expression.
>
> HTH,
> Marcel Loose.
>   



More information about the CMake mailing list