clang.toolchain 298 B

12345678
  1. set(CMAKE_C_COMPILER clang-12)
  2. set(CMAKE_CXX_COMPILER clang++-12)
  3. set(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=lld -rdynamic")
  4. set(CMAKE_SHARED_LINKER_FLAGS "-fuse-ld=lld")
  5. set(CMAKE_C_STANDARD_LIBRARIES "-lc -lm")
  6. set(CMAKE_CXX_STANDARD_LIBRARIES "-lc -lm")
  7. set(ENV{CC} clang-12)
  8. set(ENV{CXX} clang++-12)