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

generate compile_commands.json automatically #3017

Open
Freed-Wu opened this issue Apr 13, 2024 · 0 comments
Open

generate compile_commands.json automatically #3017

Freed-Wu opened this issue Apr 13, 2024 · 0 comments

Comments

@Freed-Wu
Copy link

I notice other build system allow generate compile_commands.json automatically.

For example:

meson

meson setup build

will generate build/compile_commands_json.

cmake

export CMAKE_EXPORT_COMPILE_COMMANDS=1
cmake -Bbuild

will generate build/compile_commands_json.

Can node-gyp do same thing? that is

node-gyp configure

or

export XXX=1
node-gyp configure

will generate build/compile_commands_json.

TIA!

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