[CMake] Memory cleanup of variables
Bill Hoffman
bill.hoffman at kitware.com
Wed Mar 11 11:57:12 EDT 2009
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 OUTPUT_VARIABLE, otherwise it works
> fine.
>
Great, glad it works for you. At some point 2.X will be in the past... :)
-Bill
More information about the CMake
mailing list