On a machine with both MinGW and VS installed, some generators (Ninja, for instance) will use MinGW by default. The only way I know of instructing cmake to use VS instead is
cmake -G Ninja -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl ... This is quite verbose and triggers some bugs. Is there a cleaner way to tell cmake to use VS instead of MinGW with a given generator? -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
