[CMake] How to generate for Ninja + MSVC?

Robert Dailey rcdailey.lists at gmail.com
Wed Dec 2 14:37:26 EST 2015


On Wed, Dec 2, 2015 at 1:29 PM, Nils Gladitz <nilsgladitz at gmail.com> wrote:
> On 02.12.2015 20:18, Robert Dailey wrote:
>>
>> Is there a way to generate for Ninja using MSVC toolchain? If so, how
>> do I do that? Do I need a toolchain file?
>
>
> You can select the Ninja generator (e.g. cmake -G Ninja) while running cmake
> from the desired Visual Studio command line environment.

This doesn't work unfortunately; it still finds GNU 4.8.3 compiler somehow.


More information about the CMake mailing list