On 05/01/2018 10:00 PM, resurrect...@centrum.cz wrote:
What should be done in my
opinion is to add windows-clang.qbs file similar to existing
windows-msvc.qbs and windows-mingw.qbs in cpp module. And of course the
profile routing would need to be changed so that Clang on Windows does
not automatically mean everything GCC and Linux-like. I suppose the
existing windows specific qbs files could be re-used.
That's pretty much what is needed to support clang on Windows.
The windows-clang cpp module would need to act like gcc for the compiler
and like msvc for the linker.
The lion's share of the logic is in gcc.js / msvc.js. The windows-clang
cpp module would import both and use the appropriate functions for
compiler/linker.
BR,
Joerg
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs