meta: add tool to combine multiple compile-commands database files
this allows once instance of an lsp to understand multiple cmake build directories.
This commit is contained in:
@@ -57,4 +57,9 @@ cmake \
|
||||
-DCMAKE_SYSTEM_NAME=Rosetta \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$source_dir/arch/$target_arch/Platform/Rosetta.cmake
|
||||
|
||||
python3 \
|
||||
$source_dir/util/merge-compiledb.py \
|
||||
compile_commands.json \
|
||||
toolchain/compile_commands.json
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user