[CMake] CMake hangs on new install

Rolf Eike Beer eike at sf-mail.de
Thu Oct 28 07:33:58 EDT 2010


>> cmake -DCMAKE_TOOLCHAIN_FILE:string="%~dp0\zosport.cmake" -G"Unix
>> Makefiles" .\
>
> You are building on Windows, yes? Whenever I try to use ".\" in a
> command prompt, batch file or command file on Windows, it does horrible
> things. I have to substitute a full or partial path. Could this be the
> issue?

You have a "\z" in your variable CMAKE_TOOLCHAIN_FILE, this is probably
not what you want. Use a forward slash to specify this path to CMake.

Eike


More information about the CMake mailing list