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

Ajay Panyala ajay at csc.lsu.edu
Mon Mar 19 14:29:20 EDT 2012


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 do use the Cygwin CMake.

Thanks
Ajay

On Mon, Mar 19, 2012 at 11:28 AM, Eric Noulard <eric.noulard at gmail.com>wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120319/824f5eef/attachment-0001.htm>


More information about the CMake mailing list