RFE: Documentation component by default
Hi, I think it'd be nice if CMake would automatically associate files installed with install(TYPE DOC)
, MAN
and INFO
with the Documentation
component.
My use case is partial building of Debian packages. The cubeb library provides buildable Doxygen documentation, and what I'm trying to do is building only that. I can run cmake --build builddir --target doc
to only build the documentation, but then I cannot install it because cmake --install builddir
complains about missing targets; running cmake --install builddir --component Documentation
instead would fix the issue, but currently requires manually patching the upstream project.
Possibly related: #22699