Re: [cmake-developers] CMake code style

2010-09-21 Thread Alexander Neundorf
On Tuesday 21 September 2010, Alan W. Irwin wrote: On 2010-09-20 16:20-0400 Bill Hoffman wrote: BTW, this type of code is not allowed in CMake: if (fi!=files.begin()) os ;; Needs to be: if((fi!=files.begin()) { os ;; } If you want a consistent coding style in CMake, I

Re: [cmake-developers] CMake code style

2010-09-21 Thread Michael Wild
On 21. Sep, 2010, at 18:13 , Alexander Neundorf wrote: On Tuesday 21 September 2010, Alan W. Irwin wrote: On 2010-09-20 16:20-0400 Bill Hoffman wrote: BTW, this type of code is not allowed in CMake: if (fi!=files.begin()) os ;; Needs to be: if((fi!=files.begin()) { os ;; }

[cmake-developers] CMake code style

2010-09-20 Thread Alan W. Irwin
On 2010-09-20 16:20-0400 Bill Hoffman wrote: BTW, this type of code is not allowed in CMake: if (fi!=files.begin()) os ;; Needs to be: if((fi!=files.begin()) { os ;; } If you want a consistent coding style in CMake, I suggest you give uncrustify a look. It is extremely powerful and