Downloads
Wiki
Build CodeLite
Devs
|
Main /
ClangCompilerOn this page... (hide) Setting up clang in codeliteThis document describes how to define clang as a compiler in codelite Windows
Linux
Defining new compiler in codeliteSince codelite 5.2, clang compiler is defined out-of-the-box in codelite so you only need to add the include paths Next, we want to define clang as a compiler in codelite.
you can copy the include paths from Settings -> Tags Settings -> clang For example, under my windows machine my c:\mingw-4.7.1\lib\gcc\mingw32\4.6.1\include\c++ c:\mingw-4.7.1\lib\gcc\mingw32\4.6.1\include\c++\mingw32 c:\mingw-4.7.1\lib\gcc\mingw32\4.6.1\include\c++\backward c:\mingw-4.7.1\lib\gcc\mingw32\4.6.1\include c:\mingw-4.7.1\include c:\mingw-4.7.1\lib\gcc\mingw32\4.6.1\include-fixed Copy the content, paste it into an empty document and convert it to a single semi-colon string c:\mingw-4.6.1\lib\gcc\mingw32\4.6.1\include\c++;c:\mingw-4.7.1\lib\gcc\mingw32\4.6.1\include\c++\mingw32 ... Next, paste it under the Settings -> Build Settings -> Compiler -> clang -> Advanced -> Include Paths Define new project template for clangSince codelite 5.2 this step is no longer needed
|