summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorSoramane <61896496+soramanew@users.noreply.github.com>2025-08-31 10:46:34 +1000
committerSoramane <61896496+soramanew@users.noreply.github.com>2025-08-31 10:46:34 +1000
commit20a0bb691179e42fa29f845e4ec931d8d217fdf2 (patch)
tree3bacd57142f39759ee030a058b12a6d926bbd328 /.envrc
parentnix: add debug package (diff)
downloadcaelestia-shell-20a0bb691179e42fa29f845e4ec931d8d217fdf2.tar.gz
caelestia-shell-20a0bb691179e42fa29f845e4ec931d8d217fdf2.tar.bz2
caelestia-shell-20a0bb691179e42fa29f845e4ec931d8d217fdf2.zip
dev: build using clang by default
Diffstat (limited to '.envrc')
-rw-r--r--.envrc3
1 files changed, 3 insertions, 0 deletions
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"