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 CMAKE_EXPORT_COMPILE_COMMANDS to cmake build doc #1948

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

Rot127
Copy link
Collaborator

@Rot127 Rot127 commented Jan 9, 2023

This adds the -DCMAKE_EXPORT_COMPILE_COMMANDS=ON to the cmake build instructions. I think it is a commonly wanted option since compile_commands.json is used by clangd. So people who work on the code possibly want this.

Also this PR renames the file from debug_build_docs to COMPILE_CMAKE.TXT. Because I accidentally renamed it in the last commit.

…naming

This adds the `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON` to the `cmake` build instructions.
I think it is a commonly wanted option since `compile_commands.json` is used by `clangd`. So people who work on the code possibly want this.

Also this renames the file from `debug_build_docs` to `COMPILE_CMAKE.TXT`. Because I accidentally renamed it in the last commit.
@kabeor
Copy link
Member

kabeor commented Jan 19, 2023

cool, thanks!

@kabeor kabeor merged commit 7ed00ec into capstone-engine:next Jan 19, 2023
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.

None yet

3 participants