[clang-tools-extra] 6d98d45 - reland [clang-doc][NFC] refactor out file helpers (#135164)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 04:58:33 PDT 2025
Author: PeterChou1
Date: 2025-04-10T07:58:29-04:00
New Revision: 6d98d45c9c1867d4006f93e04bc1380b36e34f18
URL: https://github.com/llvm/llvm-project/commit/6d98d45c9c1867d4006f93e04bc1380b36e34f18
DIFF: https://github.com/llvm/llvm-project/commit/6d98d45c9c1867d4006f93e04bc1380b36e34f18.diff
LOG: reland [clang-doc][NFC] refactor out file helpers (#135164)
Split from https://github.com/llvm/llvm-project/pull/133161
refactor the code to extract file helpers used in HTML generators for
use in other generators for clang-doc
This patch fixes the error where compiling with
-DLLVM_LINK_LLVM_DYLIB=ON broke the buildbot
Added:
Modified:
clang-tools-extra/clang-doc/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-doc/CMakeLists.txt b/clang-tools-extra/clang-doc/CMakeLists.txt
index f4f62c74d6592..915e14c3ee16d 100644
--- a/clang-tools-extra/clang-doc/CMakeLists.txt
+++ b/clang-tools-extra/clang-doc/CMakeLists.txt
@@ -36,4 +36,9 @@ clang_target_link_libraries(clangDoc
clangToolingCore
)
+target_link_libraries(clangDoc
+ PRIVATE
+ clangDocSupport
+ )
+
add_subdirectory(tool)
More information about the cfe-commits
mailing list