Open Becheler opened 2 weeks ago
Yes. source-root
looks correct. For the compilation-database
option, it might be the path to you compile_commands.json
or the path to your CMakeLists.txt
(so that mrdocs runs it for you and gets the compile_commands.json). If you give it a CMakeLists.txt
file, then you can also use the cmake
option to define arguments for the cmake configuration step.
Here's a more complete example: https://github.com/boostorg/url/blob/develop/doc/mrdocs.yml
It'll also use CMakeLists.txt
in source-root
if no compilation-database
is provided.
Hi people, Amazing job on mrdox ! I'm trying to use it :) I have the following folder structure:
Example of a
mrdox/*.cpp
file:mrdox/*.cpp
files compile fine when running cmake withexport_compile_commands
set toON
config.yaml should be
, especially thesource-root
value ?