[cfe-users] about using clang on windows

David Blaikie dblaikie at gmail.com
Tue Dec 11 08:19:46 PST 2012


On Tue, Dec 11, 2012 at 6:11 AM, aj3423 <aj3423 at gmail.com> wrote:
> Hi,
> I used to compile my programs using CMake + VS2012's NMake, the compiling is
> very simple:
>
> cmake -G "NMake Makefiles" ..
> nmake
>
> Now I found clang, can clang work with cmake and provide such easy way of
> compiling?

CMake can use clang, yes.
http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools
(CMAKE_C_COMPILER and CMAKE_CXX_COMPILER)

>
> Thanks.
>
> _______________________________________________
> cfe-users mailing list
> cfe-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users
>



More information about the cfe-users mailing list