compiledb
compiledb copied to clipboard
Support changing directories as part of make command
Sometimes make is called with -C / --directory. This is currently not supported without disabling the strict mode. Following commands results in empty file.
compiledb -v -o compile_commands.json --no-build make -C project/
Current workout is to manually specify the project
compiledb --build-dir=project/ -v -o compile_commands.json --no-build make -C project/
I think this could be feasible as part of the make wrapper.