Hi Richard,

Date: Sat, 3 Dec 2011 17:07:37 -0600
> From: Richard Shaw <hobbes1...@gmail.com>
> Subject: Regex replace help
> To: Development discussions related to Fedora
>        <devel@lists.fedoraproject.org>
> Message-ID:
>        <CAN3TeO0JbsJQYaXvJnxFkrYVtF=mla-gcse2yic+jx3wfud...@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
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to