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

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jan 20 12:37:52 EST 2011


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


More information about the CMake mailing list