Re: [CMake] Memory cleanup of variables

2009-03-11 Thread Bill Hoffman
Naram Qashat wrote: Bill Hoffman wrote: Naram Qashat wrote: I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since a lot of them use

Re: [CMake] Memory cleanup of variables

2009-03-11 Thread Naram Qashat
Bill Hoffman wrote: Naram Qashat wrote: Bill Hoffman wrote: Naram Qashat wrote: I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since a

Re: [CMake] Memory cleanup of variables

2009-03-11 Thread Bill Hoffman
Naram Qashat wrote: myscript.cmake file(READ ${FILE} ALL_STRINGS) ... message(${RESULT}) -Bill Thanks, that worked very well. The only problems I had, though, were that the quotes were passed to the new invocation of CMake and that I had to use ERROR_VARIABLE instead of

Re: [CMake] Memory cleanup of variables

2009-03-11 Thread Alexander Neundorf
On Wednesday 11 March 2009, Bill Hoffman wrote: ... Great, glad it works for you. At some point 2.X will be in the past... :) Oh, plans for cmake 3.0 ? Alex ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Memory cleanup of variables

2009-03-11 Thread Bill Hoffman
Alexander Neundorf wrote: On Wednesday 11 March 2009, Bill Hoffman wrote: ... Great, glad it works for you. At some point 2.X will be in the past... :) Oh, plans for cmake 3.0 ? oops, 2.4.X. -Bill ___ Powered by www.kitware.com Visit other

[CMake] Memory cleanup of variables

2009-03-10 Thread Naram Qashat
I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since a lot of them use shells. In some instances, I have to read lines from a file using a

Re: [CMake] Memory cleanup of variables

2009-03-10 Thread Bill Hoffman
Naram Qashat wrote: I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since a lot of them use shells. In some instances, I have to read

Re: [CMake] Memory cleanup of variables

2009-03-10 Thread Naram Qashat
Bill Hoffman wrote: Naram Qashat wrote: I have a CMake project that I have been testing with various verisons of CMake 2.4.x and 2.6.x to make sure it works as far back as 2.4.0, due to not knowing what version of CMake our users will be using since a lot of them use shells. In some