Date: Sat, 3 Dec 2011 17:07:37 -0600
From: Richard Shaw <hobbes1069@xxxxxxxxx>
Subject: Regex replace help
To: Development discussions related to Fedora
<devel@xxxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<CAN3TeO0JbsJQYaXvJnxFkrYVtF=MLA-Gcse2YiC+jx3WfUDS6Q@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel