[CMake] How to generate for Ninja + MSVC?

Bill Hoffman bill.hoffman at kitware.com
Wed Dec 2 15:52:56 EST 2015


On 12/2/2015 2:39 PM, Robert Dailey wrote:
> For some reason Strawberry Perl installed gcc/g++ to my PATH. I
> removed this and it's finding MSVC 19 now. Thanks.

Could also set CC and CXX to cl before running CMake.


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list