Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support changing directories as part of make command #116

Open
samvasko opened this issue May 20, 2021 · 0 comments
Open

Support changing directories as part of make command #116

samvasko opened this issue May 20, 2021 · 0 comments

Comments

@samvasko
Copy link

samvasko commented May 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant