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

Add a BXL script for generating compilation databases #810

Closed
wants to merge 1 commit into from

Conversation

cbarrete
Copy link
Contributor

This is a diffent approach than #510. The main differences are:

  • All required dependencies, such as generated code, are materialized, so that tools that use the compilation database work can find those and work properly.
  • Files that are included in multiple targets result in multiple entries in the compilation database.

Closes #307

This is a diffent approach than facebook#510. The
main differences are:
- All required dependencies, such as generated code, are materialized, so that
  tools that use the compilation database work can find those and work properly.
- Files that are included in multiple targets result in multiple entries in the
  compilation database.

Closes facebook#307
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 15, 2024
@facebook-github-bot
Copy link
Contributor

@cjhopman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit to facebook/buck2-prelude that referenced this pull request Dec 20, 2024
Summary:
This is a diffent approach than facebook/buck2#510. The main differences are:
- All required dependencies, such as generated code, are materialized, so that tools that use the compilation database work can find those and work properly.
- Files that are included in multiple targets result in multiple entries in the compilation database.

Closes facebook/buck2#307

X-link: facebook/buck2#810

Reviewed By: scottcao

Differential Revision: D66984456

Pulled By: cjhopman

fbshipit-source-id: e53c5cfdcf32e4c34331d7343c06a486a971d27e
@facebook-github-bot
Copy link
Contributor

@cjhopman merged this pull request in 8eb800b.

@cbarrete cbarrete deleted the comp_db branch January 11, 2025 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated compile_commands.json uses relative paths for directory field
2 participants