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 ).
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake