[CMake] cmake and caching multiline strings problem

Prakash Punnoor lists at punnoor.de
Sun Nov 20 08:52:46 EST 2005


Hi,

is this a bug or illegal to do? I try to store a multiline string in
CMakeCache.txt, but this breaks:

SET(A "1
2
3
" CACHE INTERNAL "")

On second run this gives me a parse error (snipped):

CMake Error: Parse error in cache file CMakeCache.txt. Offending entry: 2
CMake Error: Parse error in cache file CMakeCache.txt. Offending entry: 3

Cheers,

PRakash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20051120/61c44c3c/signature.pgp


More information about the CMake mailing list