summaryrefslogtreecommitdiff
path: root/cmake/TC-clang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/TC-clang.cmake')
-rw-r--r--cmake/TC-clang.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/TC-clang.cmake b/cmake/TC-clang.cmake
new file mode 100644
index 0000000..992011f
--- /dev/null
+++ b/cmake/TC-clang.cmake
@@ -0,0 +1,7 @@
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_PROCESSOR amd64)
+
+set(tools /usr/lib/llvm/21/)
+set(CMAKE_C_COMPILER ${tools}/bin/clang)
+set(CMAKE_CXX_COMPILER ${tools}/bin/clang++)
+add_compile_options(-g)