[clang-tools-extra] [clang-doc] Add basic e2e test (PR #93928)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 13 10:12:24 PDT 2024
================
@@ -25,3 +25,11 @@ install(FILES ../assets/clang-doc-default-stylesheet.css
install(FILES ../assets/index.js
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
COMPONENT clang-doc)
+
+add_custom_target(copy-clang-doc-assets
+ COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/../assets" "${CMAKE_BINARY_DIR}/share/clang"
+ DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/../assets"
+ COMMENT "Copying Clang-Doc Assets"
+)
+set_target_properties(copy-clang-doc-assets PROPERTIES FOLDER "Clang-Doc/Assets")
+add_dependencies(clang-doc copy-clang-doc-assets)
----------------
ilovepi wrote:
Let's leave this to #95187. The copying of assets is a separate issue, and that is already under review.
https://github.com/llvm/llvm-project/pull/93928
More information about the cfe-commits
mailing list