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

Ben Boeckel ben.boeckel at kitware.com
Thu May 15 09:39:37 EDT 2014


On Thu, May 15, 2014 at 09:22:32 -0400, Brad King wrote:
> I do not think the policy Ben mentioned will be needed.  The syntax
> 
>  #line 1234 "/path/to/real/file"
> 
> is fairly obscure and will be treated as a comment by older CMakes.

My thought was that such rogue existing comments might give really
unhelpful backtraces, but I do agree that it's probably rare enough to
ignore if wanted (similar to foreach (IN LISTS)) since it does seem
beneficial enough.

--Ben



More information about the cmake-developers mailing list