Page 1 of 1

Windows path conventions and CMake

Posted: Wed Jan 21, 2009 8:39 pm
by 1337
This is not really a bug, but nevertheless I would like to share this knowledge with you:
Windows allows semicolons (";") to be used in paths and filenames. At the same time CMake uses semicolons to store lists in strings...
Bottom line is that you cannot run CMake with a semicolon in any of your relevant paths.

So when you encounter strange problems with CMake on a Windows box, be aware...

Posted: Thu Jan 22, 2009 12:58 pm
by x3n
Thanks for the note


Btw, Unix allows = in filenames, Windows doesn't (there may be more such symbols). With TortoiseSVN (and probably with other clients too) it's not even possible to do a full checkout if one file contains such a symbol, it just stops with an error at this file. I've encountered this problem in another project.

Posted: Thu Jan 22, 2009 3:00 pm
by 1337
Oh, that's really no so good for windows users...
Thanks a lot for the hint anyway.

I once had to recheckout the media repository because a file was renamed, but only one lower case letter was changed to upper case. Later on, the same situation occurred, but didn't raise problems though..