Skip to content

Commit 47172b7

Browse files
Include zlib and brotli headers in mrdocs build
When BOOST_CAPY_MRDOCS_BUILD is enabled, the documentation generation now includes <boost/capy/zlib.hpp> and <boost/capy/brotli.hpp> in addition to <boost/capy.hpp>. This ensures that symbols from the zlib and brotli libraries are included in the generated documentation. Fixes #13 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Vinnie Falco <vinniefalco@users.noreply.github.com>
1 parent c0ab3f9 commit 47172b7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ function(boost_capy_setup_properties target)
151151
endfunction()
152152

153153
if (BOOST_CAPY_MRDOCS_BUILD)
154-
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/mrdocs.cpp" "#include <boost/capy.hpp>\n")
154+
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/mrdocs.cpp"
155+
"#include <boost/capy.hpp>\n"
156+
"#include <boost/capy/zlib.hpp>\n"
157+
"#include <boost/capy/brotli.hpp>\n")
155158
add_library(boost_capy_mrdocs "${CMAKE_CURRENT_BINARY_DIR}/mrdocs.cpp")
156159
boost_capy_setup_properties(boost_capy_mrdocs)
157160
boost_capy_setup_properties(boost_capy_mrdocs PUBLIC BOOST_CAPY_MRDOCS)

0 commit comments

Comments
 (0)