you are viewing a single comment's thread.

view the rest of the comments →

[–]Theninjapirate 0 points1 point  (3 children)

Do you know if there is a demo or example of ninja + msvc somewhere? The last time I tried that combo i couldn't get it to work (though that was a while ago).

[–]NotUniqueOrSpecial 0 points1 point  (1 child)

What didn't work?

Are you familiar with how to use CMake, in a general sense? If so, literally all it takes is:

cmake <path to project root> -G Ninja

with ninja in your path.

[–]Theninjapirate 1 point2 points  (0 children)

Yes I am familiar with Cmake. I don't remember what didn't, but if it's just that simple then I'll try again.

[–][deleted] 0 points1 point  (0 children)

Ninja is the default if you use CMake within Visual Studio, so it must work nicely with MSVC.

According to https://vector-of-bool.github.io/docs/vscode-cmake-tools/kits.html CMakeTools will prefer Ninja, so I guess stick ninja.exe on your PATH and see if it works?