Skip to content
Snippets Groups Projects
Commit 412a3a9b authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Buildconfig file to use clang on Archlinux

parent e11f6318
No related branches found
No related tags found
No related merge requests found
set(PYTHON_BINARY "/usr/bin/python2" CACHE PATH "")
set(CMAKE_C_COMPILER "/usr/bin/clang" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/usr/bin/clang++" CACHE PATH "")
set(CMAKE_AR "/usr/bin/llvm-ar" CACHE PATH "")
set(CMAKE_LINKER "/usr/bin/llvm-ld" CACHE PATH "")
set(CMAKE_NM "/usr/bin/llvm-inm" CACHE PATH "")
set(CMAKE_OBJDUMP "/usr/bin/llvm-objdump" CACHE PATH "")
set(CMAKE_RANLIB "/usr/bin/llvm-ranlib" CACHE PATH "")
set(CMAKE_CXX_FLAGS_RELEASE "-Wno-array-bounds -pthread -O3 -DNDEBUG -Wno-parentheses -Wno-constant-logical-operand -fcolor-diagnostics" CACHE STRING "")
set(CMAKE_CXX_FLAGS_DEBUG "-Wno-array-bounds -g -pthread -Wno-parentheses -Wno-constant-logical-operand -fcolor-diagnostics" CACHE STRING "")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment