From 8ef2be0429670ac82a1944f15a9d88121ca2bdc5 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Mon, 27 Nov 2017 13:14:01 +0100 Subject: [PATCH] Add note on compilationDatabaseDirectory option This is useful when building with cmake --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 381cbcfc..ca95ceab 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,9 @@ generate one in ninja. When you sync your code you should regenerate this file. $ ninja -C out/Release -t compdb cxx cc > compile_commands.json ``` -The `compile_commands.json` file should be in the top-level workspace directory. +If the `compile_commands.json` is not in the top-level workspace directory, +then the `cquery.misc.compilationDatabaseDirectory` setting can be used to +specify its location. ### cquery.index.extraClangArguments