Lines Matching +full:build +full:- +full:docs
32 "See http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-filters")
34 "See http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes")
77 add_custom_target(doxygen-clang
81 set_target_properties(doxygen-clang PROPERTIES FOLDER "Clang/Docs")
84 add_dependencies(doxygen doxygen-clang)
89 DESTINATION docs/html)
99 list(APPEND LLVM_TABLEGEN_FLAGS "-I${TABLEGEN_INCLUDE_DIR}")
100 clang_tablegen(${output_file} ${td_option} SOURCE ${source} TARGET "gen-${output_file}")
102 add_dependencies(${target} gen-${output_file})
109 # Copy rst files to build directory before generating the html
111 # only exist in the build directory. Sphinx needs all files in
113 # copy all the non-gnerated rst files from the source to the build
115 add_custom_target(copy-clang-rst-docs
116 COMMAND "${CMAKE_COMMAND}" -E copy_directory
119 COMMAND "${CMAKE_COMMAND}" -E copy_if_different
129 add_custom_command(TARGET docs-clang-html POST_BUILD
130 COMMAND "${CMAKE_COMMAND}" -E copy
134 list(APPEND docs_targets "docs-clang-html")
138 list(APPEND docs_targets "docs-clang-man")
142 gen_rst_file_from_td(AttributeReference.rst -gen-attr-docs ../include/clang/Basic/Attr.td "${docs_targets}")
143 gen_rst_file_from_td(DiagnosticsReference.rst -gen-diag-docs ../include/clang/Basic/Diagnostic.td "${docs_targets}")
144 gen_rst_file_from_td(ClangCommandLineReference.rst -gen-opt-docs ../include/clang/Driver/ClangOptionDocs.td "${docs_targets}")
147 add_dependencies(${target} copy-clang-rst-docs)