QtCreator + Clang (mingw) + Ninja?
This is an old article from 2016. I was a kid. I learned a lot since then, so please do think twice when taking advice from me as a kid.
-
Install mingw-clang like this: http://blog.johannesmp.com/2015/09/01/installing-clang-on-windows-pt3/
-
Install QtCreator 4.0.0
-
Download ninja binary and throw it into mingw32/bin
-
Start QtCreator and add a new compiler with “Compiler path” “C:msys64mingw32binclang.exe”
-
Add a new Kit in QtCreator: Select just created compiler, select CMake Generator “CodeBlocks - Ninja”. Possibly set “CMake configuration to
CMAKE_CXX_COMPILER:STRING=clang++
CMAKE_C_COMPILER:STRING=clang
CMAKE_MAKE_EXECUTABLE:STRING=ninja
This post was imported from tumblr