forked from quickshell/quickshell
build: use ninja
This commit is contained in:
parent
e6d2426a5a
commit
70c5cf1e16
2 changed files with 2 additions and 1 deletions
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") }}
|
find src -type f -name "*.cpp" -print0 | parallel -q0 --eta clang-tidy --load={{ env_var("TIDYFOX") }}
|
||||||
|
|
||||||
configure target='debug' *FLAGS='':
|
configure target='debug' *FLAGS='':
|
||||||
cmake -B {{builddir}} \
|
cmake -GNinja -B {{builddir}} \
|
||||||
-DCMAKE_BUILD_TYPE={{ if target == "debug" { "Debug" } else { "Release" } }} \
|
-DCMAKE_BUILD_TYPE={{ if target == "debug" { "Debug" } else { "Release" } }} \
|
||||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON {{FLAGS}}
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON {{FLAGS}}
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ in pkgs.mkShell {
|
||||||
clang-tools_17
|
clang-tools_17
|
||||||
parallel
|
parallel
|
||||||
cmake
|
cmake
|
||||||
|
ninja
|
||||||
|
|
||||||
pkg-config
|
pkg-config
|
||||||
wayland-scanner
|
wayland-scanner
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue