Re: [Kicad-developers] CMakeLists.txt if() else() endif() suggestions

2013-02-14 Thread Dick Hollenbeck
On 02/14/2013 08:38 AM, Wayne Stambaugh wrote: > On 2/14/2013 8:48 AM, Dick Hollenbeck wrote: >> Recently I have spent much time writing cmake scripts, in the preparation of >> Python >> a-mingw-us. >> >> I have found CMake's >> >> endif( SOME LONG DUPLICATION ) >> >> to be both tiresome and a

Re: [Kicad-developers] CMakeLists.txt if() else() endif() suggestions

2013-02-14 Thread Wayne Stambaugh
On 2/14/2013 8:48 AM, Dick Hollenbeck wrote: > Recently I have spent much time writing cmake scripts, in the preparation of > Python > a-mingw-us. > > I have found CMake's > > endif( SOME LONG DUPLICATION ) > > to be both tiresome and a detriment to readability and maintenance of the > scr

[Kicad-developers] CMakeLists.txt if() else() endif() suggestions

2013-02-14 Thread Dick Hollenbeck
Recently I have spent much time writing cmake scripts, in the preparation of Python a-mingw-us. I have found CMake's endif( SOME LONG DUPLICATION ) to be both tiresome and a detriment to readability and maintenance of the scripts. CMake does not require content inbetween endif( * ). As