From a326eda9c46cae81880181406f99b811826e4b56 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 29 Jul 2024 13:04:41 -0400 Subject: gitignore & lsp goodies --- .gitignore | 3 ++ compile_commands.json | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 compile_commands.json diff --git a/.gitignore b/.gitignore index 2e8283b..504b64c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ dwl *-protocol.c *-protocol.h .ccls-cache +*.patch # config.h + +.cache/ diff --git a/compile_commands.json b/compile_commands.json new file mode 100644 index 0000000..80b900b --- /dev/null +++ b/compile_commands.json @@ -0,0 +1,88 @@ +[ + { + "arguments": [ + "/usr/bin/gcc", + "-I/usr/include/wlroots-0.18", + "-I/usr/include/libdrm", + "-I/usr/include/elogind", + "-I/usr/lib64/libffi/include", + "-I/usr/include/harfbuzz", + "-I/usr/include/freetype2", + "-I/usr/include/glib-2.0", + "-I/usr/lib64/glib-2.0/include", + "-DUTF8PROC_EXPORTS", + "-I/usr/include/pixman-1", + "-Ofast", + "-march=native", + "-I.", + "-DWLR_USE_UNSTABLE", + "-D_POSIX_C_SOURCE=200809L", + "-DVERSION=\"v0.7-rc1-15-g2718a54\"", + "-DXWAYLAND", + "-g", + "-pedantic", + "-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", + "dwl.o", + "dwl.c" + ], + "directory": "/home/master/.local/src/dwl/ChausseBenjamin", + "file": "/home/master/.local/src/dwl/ChausseBenjamin/dwl.c", + "output": "/home/master/.local/src/dwl/ChausseBenjamin/dwl.o" + }, + { + "arguments": [ + "/usr/bin/gcc", + "-I/usr/include/wlroots-0.18", + "-I/usr/include/libdrm", + "-I/usr/include/elogind", + "-I/usr/lib64/libffi/include", + "-I/usr/include/harfbuzz", + "-I/usr/include/freetype2", + "-I/usr/include/glib-2.0", + "-I/usr/lib64/glib-2.0/include", + "-DUTF8PROC_EXPORTS", + "-I/usr/include/pixman-1", + "-Ofast", + "-march=native", + "-I.", + "-DWLR_USE_UNSTABLE", + "-D_POSIX_C_SOURCE=200809L", + "-DVERSION=\"v0.7-rc1-15-g2718a54\"", + "-DXWAYLAND", + "-g", + "-pedantic", + "-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", + "util.o", + "util.c" + ], + "directory": "/home/master/.local/src/dwl/ChausseBenjamin", + "file": "/home/master/.local/src/dwl/ChausseBenjamin/util.c", + "output": "/home/master/.local/src/dwl/ChausseBenjamin/util.o" + } +] -- cgit v1.2.3