CMake Manager and escaping

Andreas Pakulat apaku at gmx.de
Fri Feb 6 22:47:19 UTC 2009


Hi,

with KDevelop4 on windows some issues seem to be easily found :)

One such issue is escaping (or rather unescaping) in the cmake parser.
Unfortunately there seems to be some logic missing for that step. For
example running an external process produces something like this 

"C:\foo"

which gets stored in a variable and supposedly later on used by the parser
after unescaping it to "C:foo" which of course is wrong.

Fixing that one place is no big deal (i.e. s/\\/\\\\/ in the output), but
it makes me wonder how many other places might need this and wether anybody
ever checked the CMake sources how and when they do the unescaping of
variable values.

Andreas

-- 
There is a 20% chance of tomorrow.




More information about the KDevelop-devel mailing list