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

Michael Wild themiwi at gmail.com
Thu Jan 20 15:52:15 EST 2011





On 20.01.2011, at 18:37, 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

I know... What I meant was: "neither do I have the time or the motivation, so people should cope themselves." :-P


More information about the CMake mailing list