[CMake] How to use Ninja on Windows with MSVC?

Robert Dailey rcdailey.lists at gmail.com
Wed May 22 09:58:04 EDT 2019


>From the command line, I want to generate Ninja build scripts that
utilize a specific version of MSVC compiler. Basically I'd like the
combination of `-G"Visual Studio 15 2017"` with regards to its ability
to find the C and C++ compiler on the system via registry/environment
variables, and `-G"Ninja"` with regards to it being the build driver
for that compiler.

Is this even possible?


More information about the CMake mailing list