[cmake-developers] What about #line like feature in cmake language?

Nicolas Desprès nicolas.despres at gmail.com
Fri May 23 11:58:56 EDT 2014


On Fri, May 23, 2014 at 3:11 PM, Brad King <brad.king at kitware.com> wrote:

>
> That is what the above variables were meant to be.  They just
> happen to be implemented by replacing during variable evaluation
> instead of by the lexer.  Having the lexer do actual replacements
> would be a change to the language beyond the scope of the #line
> proposal.
>
I see...

>
> I think this issue as a reason to not add a #line feature.  For
> your generated source case you can add comments that refer back
> to the original source locations for human reference.
>
Indeed it is not a strong requirement at your suggestion will work too.

>
I will think more about it and get back to you if I have another idea.

Thanks for your time,

-- 
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140523/268092bf/attachment-0002.html>


More information about the cmake-developers mailing list