diff options
Diffstat (limited to 'cmake/Toolchain-Clang.cmake')
| -rw-r--r-- | cmake/Toolchain-Clang.cmake | 6 |
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") |
