[cmake-developers] Roadmap to CMake 3.0

Matthew Woehlke matthew.woehlke at kitware.com
Tue Oct 22 11:08:34 EDT 2013


On 2013-10-22 07:15, Ian Liu Rodrigues wrote:
> Below is a list of some things that I would love to see on CMake 3.0:
>   * Possibility to wrap long lines, maybe with a backslash at the end
>     of the line;

I guess you mean in single string arguments specifically? I can't think 
of other cases where you can't already wrap... if I am missing 
something, can you give an example?

Strings may already be partly solved by the new quoting feature, 
although I suppose the extra newlines that probably picks up are not 
desired. Within just a quoted string context I guess this shouldn't be 
too hard?

>   * Custom global targets. For instance, I would like each of my
>     directories to have a 'benchmark' target, exactly like the 'test'
>     target.

You can't have per-directory targets with the same name, generally. It 
may work with Makefile generators, but won't work with many others (e.g. 
Ninja, pretty sure MSVC). You can already have global custom targets in 
general.

-- 
Matthew




More information about the cmake-developers mailing list