dev: build with clazy
This commit is contained in:
parent
c55f8bd045
commit
0a02e0d407
1 changed files with 1 additions and 4 deletions
5
.envrc
5
.envrc
|
|
@ -9,10 +9,7 @@ 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 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DDISTRIBUTOR=direnv
|
||||
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clazy -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DDISTRIBUTOR=direnv
|
||||
cmake --build build
|
||||
export CAELESTIA_LIB_DIR="$PWD/build/lib"
|
||||
export QML2_IMPORT_PATH="$PWD/build/qml:${QML2_IMPORT_PATH:-}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue