[cmake-developers] Roadmap to CMake 3.0

Pau Garcia i Quiles pgquiles at elpauer.org
Mon Oct 14 11:13:09 EDT 2013


On Mon, Oct 14, 2013 at 5:05 PM, Brad King <brad.king at kitware.com> wrote:

> On 10/13/2013 6:03 AM, Alexander Neundorf wrote:
> >> * New quoting syntax: Lua-style long-brackets.  Quoting opens with
> >>   "[" followed by zero or more "=" followed by "[" and closes with
> >>   "]" followed by the same number of "=" followed by "]".
> > What's the purpose of the "=" between the square brackets ?
>
> One can choose a unique number of "=" to match an opening and closing
> bracket so that the closing bracket is known not to appear in the
> enclosed content.  This avoids the need for any escaping even when
> closing brackets other lengths appear in the content.
>
>
This is commonly known as "here document"

http://en.wikipedia.org/wiki/Here_document

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20131014/d565c0b2/attachment.html>


More information about the cmake-developers mailing list