Skip to content

chore(cmake): add compile commands to preset #5685

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

henryiii
Copy link
Collaborator

Description

I thought I added this before, but it's not there. This will generate an
IDE-friendly file in build/compile_commands.json if supported.

Suggested changelog entry:

  • Presets now generate compile_commands.json.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit e4622cb into pybind:master May 23, 2025
74 checks passed
@henryiii henryiii deleted the henryiii/cmake/presetcc branch May 23, 2025 19:13
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label May 23, 2025
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label May 29, 2025
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

Successfully merging this pull request may close these issues.

1 participant