Skip to content
Snippets Groups Projects
Commit f00daf15 authored by Reid Kleckner's avatar Reid Kleckner
Browse files

Add support for building Sphinx documentation when being built inside LLVM...

Add support for building Sphinx documentation when being built inside LLVM source tree and using CMake.

Patch by Dan Liew <daniel.liew@imperial.ac.uk>!

llvm-svn: 206662
parent 230f662d
No related branches found
No related tags found
No related merge requests found
......@@ -180,3 +180,5 @@ add_subdirectory(test)
if (LLVM_INCLUDE_TESTS AND NOT LLD_BUILT_STANDALONE)
add_subdirectory(unittests)
endif()
add_subdirectory(docs)
if (LLVM_ENABLE_SPHINX)
if (SPHINX_FOUND)
include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html lld)
endif()
endif()
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment