aboutsummaryrefslogtreecommitdiff
path: root/llvm/cmake/modules/AddSphinxTarget.cmake
AgeCommit message (Collapse)AuthorFilesLines
2014-08-14Make message about building sphinx documentation with CMake moreDan Liew1-1/+1
informative by stating where the output is going. llvm-svn: 215635
2014-08-14Add SPHINX_WARNINGS_AS_ERRORS CMake option to allow warnings to not beDan Liew1-1/+8
treated as errors (which is still the default). This is useful when working on documentation that has existing errors. llvm-svn: 215634
2014-04-28Teach add_sphinx_target() to respect the LLVM_INSTALL_TOOLCHAIN_ONLY CMakeDan Liew1-9/+11
option. llvm-svn: 207450
2014-04-18Added Sphinx documentation generation to CMake build system.Reid Kleckner1-0/+54
The option LLVM_ENABLE_SPHINX option enables the "docs-llvm-html", "docs-llvm-man" targets but does not build them by default. The following CMake options have been added that control what targets are made available SPHINX_OUTPUT_HTML SPHINX_OUTPUT_MAN If LLVM_BUILD_DOCS is enabled then the enabled docs-llvm-* targets will be built by default and if ``make install`` is run then docs-llvm-html and docs-llvm-man will be installed (tested on Linux only). The add_sphinx_target function is in its own file so it can be included by other projects that use Sphinx for their documentation. Patch by Daniel Liew <daniel.liew@imperial.ac.uk>! llvm-svn: 206655