mrdocs::Config::cmakeBuildDir
Directory for the CMake build that generates the compilation database
Synopsis
Declared in <mrdocs/Config.hpp>
std::string cmakeBuildDir;
Description
When the compilation database is generated from a CMakeLists.txt file, MrDocs runs CMake in a scratch directory and removes it afterward.
Set this option to run that build in a fixed directory instead: it is used as given, reused across runs, and never removed, so you can inspect or reuse the generated build files.
When unset, MrDocs picks a writable scratch directory automatically (honoring the MRDOCS_TEMP_DIR environment variable, then the user cache and system temporary directories).
Created with MrDocs