Sharpmake icon indicating copy to clipboard operation
Sharpmake copied to clipboard

[Question] Is there support for clang compilation database?

Open TheZoc opened this issue 1 year ago • 1 comments

Hello :)

I'm kinda new to sharpmake and I couldn't find anything in regarding this - I was wondering if there is support for clang's compile_commands.json or something similar.

I'm hoping to use clangd as LSP, and I'd love to use Sharpmake to manage my project.

Is there currently a way to generate that? If not, could you point me towards the bit of code that would be a good spot to inspect and hopefully be able to implement that feature?

Thank you in advance!

TheZoc avatar Feb 28 '24 00:02 TheZoc

See this sample: https://github.com/ubisoft/Sharpmake/tree/main/samples/CompileCommandDatabase

tru avatar Mar 04 '24 21:03 tru