From 70c5cf1e16d8e3907c5c92de79059b682350d214 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 26 Feb 2024 03:35:07 -0800 Subject: [PATCH] build: use ninja --- Justfile | 2 +- shell.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 5fe2ccb..1f688ea 100644 --- a/Justfile +++ b/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}} diff --git a/shell.nix b/shell.nix index a2c94be..3d71bfb 100644 --- a/shell.nix +++ b/shell.nix @@ -12,6 +12,7 @@ in pkgs.mkShell { clang-tools_17 parallel cmake + ninja pkg-config wayland-scanner