[cmake-developers] string SUBSTRING TRUNCATE mode

Domen Vrankar domen.vrankar at gmail.com
Wed Nov 12 10:23:58 EST 2014


2014-11-12 15:54 GMT+01:00 Robert Maynard <robert.maynard at kitware.com>:
> I vote for the implicit behavior of SUBSTRING for it to tolerate
> out-of-range indexes.

I would also prefer implicit behavior but in that case should it still
be treated as error if CMake minimum required version is set to less
than 3.1 since it would break on older versions of CMake?
I know that CMake policies exist but I am not familiar with them...
Could they be used for this?


More information about the cmake-developers mailing list