[cmake-developers] Autogen subdirectories patches

Stephen Kelly steveire at gmail.com
Tue Jul 26 17:42:12 EDT 2016


Sebastian Holtermann wrote:

>> It might be better to just use a NULL sentinel at the end of the array.
>> If not, the extra spaces here should go away.
> 
> I have changed that to use a NULL sentinel.
> std::array would be the best solution IMO but it is not allowed, is it?

You could use cmArrayBegin and cmArrayEnd without the sentinal. They are 
designed for this kind of thing.

Thanks,

Steve.




More information about the cmake-developers mailing list