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

[CLI, SBT, Mill] Provide a command/flag to generate compile_flags.txt #174

Open
keynmol opened this issue May 23, 2024 · 0 comments
Open

Comments

@keynmol
Copy link
Contributor

keynmol commented May 23, 2024

See https://clang.llvm.org/docs/JSONCompilationDatabase.html#alternatives

I've found myself regularly using sn-vcpkg to play around with C examples, e.g. sn-vcpkg clang cairo -- test.c - problem is that I don't have clangd working in test.c because it's missing compilation flags.

So I'd like something to generate compiler_flags.txt in locations managed by sn-vcpkg.

For CLI I'd like to have a setup-clangd subcommand or something

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