SyntaxFix
Write A Post
Hire A Developer
Questions
If the default compiler chosen by cmake is gcc and you have installed clang, you can use the easy way to compile your project with clang:
cmake
gcc
clang
$ mkdir build && cd build $ CXX=clang++ CC=clang cmake .. $ make -j2