The compile_commands.json produced by scons is complete.
For example, this is not enough information to compile this target:
{ "directory": "/home/gabriel/git/mongo/master", "command": "PATH=/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin /opt/mongodbtoolchain/v3/bin/clang @build/ninja/third_party/zstandard-1.4.4/zstd/lib/dictBuilder/zdict.dyn.o.rsp", "file": "src/third_party/zstandard-1.4.4/zstd/lib/dictBuilder/zdict.c", "output": "build/ninja/third_party/zstandard-1.4.4/zstd/lib/dictBuilder/zdict.dyn.o" }