sn-vcpkg
sn-vcpkg copied to clipboard
[CLI, SBT, Mill] Provide a command/flag to generate compile_flags.txt
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