[CMake] ninja under windows

Miller, Frank frankmiller at cfrankmiller.com
Mon Aug 3 23:04:41 EDT 2015


I suspect that ninja thinks its on a posix system because you compiled 
it in cygwin. Try building it in a windows "terminal". I routinely use 
cmake and ninja on windows with the msvc toolchain and it works great 
but I use msys instead of cygwin.

Hopefully that helps you.

Frank

On 8/3/2015 12:22 PM, Gonzalo Garramuño wrote:
> I compiled Ninja on cygwin from git.  That now works fine it seems.
> I am trying to compile for msvc.  However, when cmake runs, I get:
>
> [1/123] Building CXX object 
> 'libACESclip\CMakeFiles\ACESclip.dir\src\ACESclipWriter.cpp.obj'ninja: 
> fatal: unknown deps type 'msvc'
>
> $ ninja --version
> 1.6.0.git
>
> Is compiling under the microsoft compiler not an option for ninja 
> files ( I can compile with NMake Makefiles just fine in the same 
> project ).



More information about the CMake mailing list