From 8dfe3b2f25ffa49469963a5b248ffdb6c48671d0 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 28 Aug 2025 00:14:32 +1000 Subject: [PATCH] ignore compile_commands.json --- .gitignore | 4 +++- compile_commands.json | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 compile_commands.json diff --git a/.gitignore b/.gitignore index 0955afd..f0454e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ +.cache/ +compile_commands.json + build/ bin/ -.cache/ dwl *.o diff --git a/compile_commands.json b/compile_commands.json new file mode 100644 index 0000000..39c8300 --- /dev/null +++ b/compile_commands.json @@ -0,0 +1,36 @@ +[ + { + "arguments": [ + "/nix/store/kaj8d1zcn149m40s9h0xi0khakibiphz-gcc-wrapper-14.3.0/bin/cc", + "-I/nix/store/0zk4pkbi9fylnacrp4vyh656hzsagbrq-libinput-1.27.1-dev/include", + "-I/nix/store/1cxb11vk91mzphc04nqwjf7wkar11zh7-libxkbcommon-1.8.1-dev/include", + "-I/nix/store/jk1mnd65ybdayahwpl3liyafx5kh5cpl-wayland-1.23.1-dev/include", + "-I/nix/store/nq6cck4adynrjzq9k17zagx5y0vlzybm-wlroots-0.19.0/include/wlroots-0.19", + "-Ibuild/include", + "-DWLR_USE_UNSTABLE", + "-D_POSIX_C_SOURCE=200809L", + "-DVERSION=\"v0.8-dev-94-gf6a4c76-dirty\"", + "-g", + "-Wpedantic", + "-Wall", + "-Wextra", + "-Wdeclaration-after-statement", + "-Wno-unused-parameter", + "-Wshadow", + "-Wunused-macros", + "-Werror=strict-prototypes", + "-Werror=implicit", + "-Werror=return-type", + "-Werror=incompatible-pointer-types", + "-Wfloat-conversion", + "-O1", + "-c", + "-o", + "build/obj/main.o", + "src/main.c" + ], + "directory": "/home/me/workshop/crywl", + "file": "/home/me/workshop/crywl/src/main.c", + "output": "/home/me/workshop/crywl/build/obj/main.o" + } +]