You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 acompile_commands.json
that has only the targets relevant to MrDocs, without modifying my dependencies.The text was updated successfully, but these errors were encountered: