Re: [cmake-developers] CMake, Ninja and Clang on windows?

2018-11-06 Thread Brad King
On 11/06/2018 05:57 AM, Tobias Hunger wrote: > we are currently trying to support Clang (without the -cl;-) on > Windows. This fails since CMake adds extra compiler flags to the > command line which are not in the expected format. Clang with a GNU-like command targeting the MSVC ABI is not

Re: [cmake-developers] CMake, Ninja and Clang on windows?

2018-11-06 Thread Jean-Michaël Celerier
Hi, to do this I currently use the following cross-compiling toolchain : https://github.com/mstorsjo/llvm-mingw I was able to build Qt (except webstuff since I don't use them) and a large CMake-based project with it for instance. Maybe it can be useful ? Best, --- Jean-Michaël Celerier

[cmake-developers] CMake, Ninja and Clang on windows?

2018-11-06 Thread Tobias Hunger
Hi CMake Developers, we are currently trying to support Clang (without the -cl;-) on Windows. This fails since CMake adds extra compiler flags to the command line which are not in the expected format. Stackoverflow[1] suggests to set CMAKE_SYSTEM_NAME to "Generic" to stop that from happening.