summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-03 19:56:26 -0700
committerFuwn <[email protected]>2022-07-03 19:56:33 -0700
commitfb009c8b64182238a2cbb71b2db3770f8984535e (patch)
tree9e5d0dd5d27bcd00d1cbcfebf2151fed22c32bd7
parentchore(ninja): emit clang dependency info (diff)
downloadcait-fb009c8b64182238a2cbb71b2db3770f8984535e.tar.xz
cait-fb009c8b64182238a2cbb71b2db3770f8984535e.zip
docs(ninja): add required version
-rw-r--r--build.ninja19
1 files changed, 10 insertions, 9 deletions
diff --git a/build.ninja b/build.ninja
index 6ff55a5..01b3be5 100644
--- a/build.ninja
+++ b/build.ninja
@@ -1,12 +1,13 @@
-cc = clang++
-name = cait
-src_dir = $name
-cxx_warnings = -Weverything -Wno-c++98-compat
-cxx_flags = -I$src_dir -O3 -std=c++20 $cxx_warnings -MD
-out_dir = out
-out_ext = .exe
-obj_ext = .o
-cc_ext = .cc
+cc = clang++
+name = cait
+src_dir = $name
+cxx_warnings = -Weverything -Wno-c++98-compat
+cxx_flags = -I$src_dir -O3 -std=c++20 $cxx_warnings -MD
+out_dir = out
+out_ext = .exe
+obj_ext = .o
+cc_ext = .cc
+ninja_required_version = 1.10.2
rule cc
command = $cc $cxx_flags -MF $out.d -c $in -o $out