[CMake] Feature request: change how CMake chooses compiler when Ninja is used (Windows)
Alexander Neundorf
a.neundorf-work at gmx.net
Tue May 30 15:25:14 EDT 2017
On 2017 M05 27, Sat 15:49:35 CEST biologi spm wrote:
> Hi CMake developers,
>
> When both Mingw64 GCC and MSVC is available in PATH and run cmake
> -GNinja, cmake always choose GCC. I have to manually remove GCC from
> PATH or type -DCMAKE_IGNORE_PATH= which is very long.
you can set the CC and CXX env. variables to point at the compiler you want to
use. CMake should pick this one up then.
Alex
More information about the CMake
mailing list