Hi Nikos,

Currently only manually set. There is no clean solution to point C
compillers for qmake, qbs too from the QtC kit.

2016-04-11 22:57 GMT+10:00 Nikos Chantziaras <rea...@gmail.com>:

> I have the issue of Creator using clang++ to build C++ sources, and GCC to
> build C sources. I am trying to fix this, but for the life of me I can't
> find a reference of Creator's variables anywhere.
>
> In the kit that uses Clang, Creator uses this in the "CMake Configuration"
> field:
>
>   CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable}
>
> That's nice. But CMAKE_C_COMPILER is not set, so I get a mixed Clang/GCC
> build. %{Compiler:Executable} is obviously the C++ compiler. What is the C
> compiler? What do I write here:
>
>   CMAKE_C_COMPILER:STRING=%{???}
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>



-- 
WBR, Alexander Drozdov
http://htrd.su
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to