Closed
Description
At the moment, mrdocs appends a -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
at the end of the command line. This might be too much for some projects, as it generates the compilation database for all targets in the project (as per the cmake docs).
I can't disable some of the targets built by my project, because they're added by dependencies. In this case, I'd like to set the EXPORT_COMPILE_COMMANDS
manually for the target I'd like MrDocs to know about. This would allow me to generate a compile_commands.json
that has only the targets relevant to MrDocs, without modifying my dependencies.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done