aboutsummaryrefslogtreecommitdiffstats
path: root/clang.toolchain
blob: 5097ea571c7902bbbf8d81b0727e5a694509557a (plain) (blame)
1
2
3
4
5
6
7
8
set(CMAKE_C_COMPILER clang-12)
set(CMAKE_CXX_COMPILER clang++-12)
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-12)
set(ENV{CXX} clang++-12)