aboutsummaryrefslogtreecommitdiffstats
path: root/clang.toolchain
blob: b8ce37232d7edd6de7c744ba67ef8a90bce614df (plain) (blame)
1
2
3
4
5
6
7
8
set(CMAKE_C_COMPILER clang-14)
set(CMAKE_CXX_COMPILER clang++-14)
set(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=lld -rdynamic")
set(CMAKE_SHARED_LINKER_FLAGS "-fuse-ld=lld")
set(CMAKE_C_STANDARD_LIBRARIES "-lc -lm")
set(CMAKE_CXX_STANDARD_LIBRARIES "-lc -lm")
set(ENV{CC} clang-14)
set(ENV{CXX} clang++-14)