[CMake] How to assign data from subexpressions of regular expressions to CMake variables?

David Cole david.cole at kitware.com
Thu Jan 20 13:14:35 EST 2011


On Thu, Jan 20, 2011 at 12:37 PM, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:
> On Thursday 20 January 2011, Michael Wild wrote:
>> On 01/20/2011 02:14 PM, David Cole wrote:
> ...
>> > Me too. I had to go searching for "CMAKE_MATCH_" because I knew it was
>> > stated somewhere. Much to my surprise, there was only a single
>> > "CMAKE_MATCH" on our whole documentation page. It would make sense to
>> > document the variables CMAKE_MATCH_0 and friends explicitly. And
>> > cross-referencing left, right, north and south would also be good.
>> >
>> > You can propose all you want. I keep getting distracted by the "real
>> > bugs" on my plate...
>> >
>> > :-)
>>
>> ;-) Right. Anyways, some newbie doing serious RTFM as he should will
>> stumble across the string(REGEX REPLACE) documentation any ways and
>> connect the dots :-P
>
> I think Dave meant "Please write a patch which adds the documentation and put
> this in the bugtracker" :-)
>
> Alexy
>


Actually, I don't mean to be flippant. Hopefully nobody read my
earlier emails that way. But I am serious. There are bigger fish to
fry this week...

And in lieu of *perfect* documentation, I am (and others are)
perfectly willing to point to the "hard to find nuggets of
documentation" when a direct question about something is asked.


David


More information about the CMake mailing list