[CMake] Backslashes in path names on Windows?
Kent Williams
nkwmailinglists at gmail.com
Fri Jan 25 13:52:07 EST 2013
I am testing a ITK patch I'm working on in Windows. That involves entering
a path in cmake-gui or ccmake. The first time I tried it, I entered the
path 'windows-wise' with backslashes as path separators.
That caused a syntax error at the point where that variable is used. When
I re-entered the path with unix-style forward slashes, the CMake
configure/generate succeeded.
Is one supposed to always use Unix forward slashes when specifying paths to
CMake? If so is it documented to do that?
If you're curious this is the ITK patch I'm working on:
http://review.source.kitware.com/#/c/9308/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130125/67b822be/attachment.htm>
More information about the CMake
mailing list