forked from quickshell/quickshell
build: use ninja
This commit is contained in:
parent
e6d2426a5a
commit
70c5cf1e16
2
Justfile
2
Justfile
|
@ -7,7 +7,7 @@ lint:
|
|||
find src -type f -name "*.cpp" -print0 | parallel -q0 --eta clang-tidy --load={{ env_var("TIDYFOX") }}
|
||||
|
||||
configure target='debug' *FLAGS='':
|
||||
cmake -B {{builddir}} \
|
||||
cmake -GNinja -B {{builddir}} \
|
||||
-DCMAKE_BUILD_TYPE={{ if target == "debug" { "Debug" } else { "Release" } }} \
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON {{FLAGS}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue