From a6f62055835c5c3f9546818fbbcd43c73baef57f Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 6 Aug 2021 15:49:26 +0100 Subject: Implement compile_commands.json generation --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 678abc3..25038b3 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Pack has no runtime dependencies. The following is a list of build dependencies: - POSIX cat, find, rm, sed, sh and tr - xargs with support for the `-r` gnu extension - bash 4.4 or newer (parameter expansion transformations) +- (optional) jq (for generating `compile_commands.json`) Compilation ----------- @@ -76,6 +77,9 @@ Development Please configure with `-w` and ensure code compiles cleanly. Be aware that different compiler versions can enable different warnings. If in doubt, ask. +If you use a tool such as `clangd` which makes use of `compile_commands.json` +then make sure you have `jq` installed and run `./configure` with `-f`. + Contributing ------------ -- cgit v1.2.3-54-g00ecf