From 20a0bb691179e42fa29f845e4ec931d8d217fdf2 Mon Sep 17 00:00:00 2001 From: Soramane <61896496+soramanew@users.noreply.github.com> Date: Sun, 31 Aug 2025 10:46:34 +1000 Subject: dev: build using clang by default --- .envrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.envrc') diff --git a/.envrc b/.envrc index 837e27b..f441b73 100644 --- a/.envrc +++ b/.envrc @@ -9,6 +9,9 @@ watch_file plugin/**/*.cpp watch_file plugin/**/*.hpp watch_file **/CMakeLists.txt +export CC=clang +export CXX=clang++ + cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DDISTRIBUTOR=direnv cmake --build build export CAELESTIA_LIB_DIR="$PWD/build/lib" -- cgit v1.2.3-freya