build: use ninja

This commit is contained in:
outfoxxed 2024-02-26 03:35:07 -08:00
parent e6d2426a5a
commit 70c5cf1e16
Signed by untrusted user: outfoxxed
GPG Key ID: 4C88A185FB89301E
2 changed files with 2 additions and 1 deletions

View File

@ -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}}

View File

@ -12,6 +12,7 @@ in pkgs.mkShell {
clang-tools_17
parallel
cmake
ninja
pkg-config
wayland-scanner