[Qbs] Missing feature qbs API command "generate"
Jochen Becher
jochen_becher at gmx.de
Wed Jul 2 18:38:49 CEST 2025
HI,
I am currently working on some improvements of the VSCode extension
vscode-qbs. I would like to add some support for clangd: whenever a
project is resolved, it should also generate the clangdb
(compile_commands.json). With some configuration of the clang extension
it is possible to have full automated clangd support. I tested this
manually and with the exception of some issues with gcc options that
are not supported by clang it works well.
So what I need is a qbs API command "generate" to run the generator
explicitly or an extension of the existing command "resolve-project" to
also generate clangdb.
Is this a planned feature or should I implement it myself? What would
be your preferred way? Having a separate command or extending resolve-
project?
Regards, Jochen
More information about the Qbs
mailing list