[CMake] cmake generates broken project file when path includes whitespace (in this case at least)

Eric Noulard eric.noulard at gmail.com
Mon Mar 19 14:28:19 EDT 2012


2012/3/19 Ajay Panyala <ajay at csc.lsu.edu>:
> Did you try playing around with:
>
> file(TO_CMAKE_PATH path result)
> file(TO_NATIVE_PATH path result)
>
> I did try file(TO_NATIVE_PATH path result) at the time, but it was not
> useful in my case.
> The result is still a unix style path (maybe because I am using Cygwin)

Did you use cygwin CMake or win32 CMake?
I think using win32 CMake with cygwin does not play well, one should
use cygwin CMake.
I'm no expert in this area but the ML archive should contain answers
to this kind of problem.

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list