[cfe-users] clang, gcc, g++ ABI, and CMake
Tom Browder
tom.browder at gmail.com
Tue Aug 13 06:43:49 PDT 2013
On Tue, Aug 13, 2013 at 8:19 AM, Sean McBride <sean at rogue-research.com> wrote:
> On Sun, 11 Aug 2013 14:59:20 -0500, Tom Browder said:
>
>>1. Has anyone a working, general solution for driving a CMake-built
>>project with clang or clang++ (using build directories not polluted by
>>gcc/g++ attempts)?
>
> Not sure what you mean exactly... sounds like more of a CMake question, but if I understand you correctly, you just need to tell cmake which compiler to use, ex:
>
> $ cd bin-dir
> $ CC=clang CXX=clang++ ccmake /path/to/src
That's a start! Thanks, Sean.
Best,
-Tom
More information about the cfe-users
mailing list