Brad King a écrit :
Xavier Larrode wrote:
Hi all,
i have a regex like this :
SET(GTKMM_LIBDIR_EXTRACT_REGEX "[-][l]([a-zA-Z0-9/._-]*)")
And gtmm is using the lib sigc++-2.0
So i need to add to my regex the character + .
i tried with \+ ; \\+ '+' but nothing work ...
Make sure the "-" is still the last character in the brackets so that
the regex doesn't think you are specifying a range.
SET(GTKMM_LIBDIR_EXTRACT_REGEX "[-][l]([a-zA-Z0-9/._+-]*)")
Ok thanks it works.
So now i have
a [FindGTKMM, FindOpenMASK, FindAReVi, FindXML2, FindGLADE2].cmake , but
only for linux ...
It's not perfect, as it should use a template name ( but i don"t know
how to do it) but it works.
if anyone need one of them...
-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
begin:vcard
fn;quoted-printable:Xavier Larrod=C3=A9
n;quoted-printable:Larrod=C3=A9;Xavier
org:IRISA ;E119 Orange
title:Projet GVT
tel;work:73 28
version:2.1
end:vcard
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake