This is an archive of the discontinued LLVM Phabricator instance.

cmake: Add LLVM_ENABLE_OCAMLDOC to control building OCaml bindings doc
ClosedPublic

Authored by mgorny on Aug 21 2016, 10:10 PM.

Details

Reviewers
whitequark
Summary

Make it possible to control building of OCaml bindings documentation separately via LLVM_ENABLE_OCAMLDOC rather than implicitly enabling it when OCaml bindings are enabled and LLVM_INCLUDE_DOCS is true. This makes it possible to build OCaml bindings and other documentation parts without having additional OCaml documentation dependencies installed.

Diff Detail

Event Timeline

mgorny updated this revision to Diff 68823.Aug 21 2016, 10:10 PM
mgorny retitled this revision from to cmake: Add LLVM_ENABLE_OCAMLDOC to control building OCaml bindings doc.
mgorny updated this object.
mgorny added a reviewer: whitequark.
mgorny added a subscriber: llvm-commits.
whitequark accepted this revision.Aug 22 2016, 7:26 AM
whitequark edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 22 2016, 7:26 AM

Could you commit it, please? I don't have commit access.