dev: build using clang by default
This commit is contained in:
parent
49cabbd4cc
commit
20a0bb6911
1 changed files with 3 additions and 0 deletions
3
.envrc
3
.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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue