Regex replace help

Denis Arnaud denis.arnaud_fedora at m4x.org
Sun Dec 4 14:27:13 UTC 2011


Hi Richard,

Date: Sat, 3 Dec 2011 17:07:37 -0600
> From: Richard Shaw <hobbes1069 at gmail.com>
> Subject: Regex replace help
> To: Development discussions related to Fedora
>        <devel at lists.fedoraproject.org>
> Message-ID:
>        <CAN3TeO0JbsJQYaXvJnxFkrYVtF=MLA-Gcse2YiC+jx3WfUDS6Q at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> I'm writing my own cmake module for finding TinyXML and I'm trying to
> extract the version from the header.
>

you will find several examples of such CMake Regex in the SOCI (
https://github.com/airsim/stdair/blob/trunk/config/FindSOCI.cmake#L26),
Readline (
https://github.com/airsim/stdair/blob/trunk/config/FindReadline.cmake#L12),
Xapian (
https://github.com/airsim/stdair/blob/trunk/config/FindXapianWrapper.cmake#L21),
ZeroMQ (
https://github.com/airsim/stdair/blob/trunk/config/FindZeroMQ.cmake#L31)
and Boost () version finders, which I use within my various upstream
projects.

Does it help?

Cheers

Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20111204/bd0c87e5/attachment-0001.html 


More information about the devel mailing list