summaryrefslogtreecommitdiff
path: root/cmake/Toolchain-Clang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Toolchain-Clang.cmake')
-rw-r--r--cmake/Toolchain-Clang.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/Toolchain-Clang.cmake b/cmake/Toolchain-Clang.cmake
new file mode 100644
index 0000000..d263d2d
--- /dev/null
+++ b/cmake/Toolchain-Clang.cmake
@@ -0,0 +1,6 @@
+# Optional LLVM/Clang toolchain file.
+#
+# Usage:
+# cmake -B build-clang -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-Clang.cmake
+
+set(CMAKE_C_COMPILER clang CACHE FILEPATH "C compiler")
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com