[LoongArch] Use getLoc() directly to construct error message
[llvm-project.git] / clang-tools-extra / clang-doc / tool / CMakeLists.txt
blobfb8317b272932f3c35669825209d2cae6b763c75
1 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
3 add_clang_tool(clang-doc
4   ClangDocMain.cpp
5   )
7 clang_target_link_libraries(clang-doc
8   PRIVATE
9   clangAST
10   clangASTMatchers
11   clangBasic
12   clangFrontend
13   clangTooling
14   clangToolingCore
15   )
16 target_link_libraries(clang-doc
17   PRIVATE
18   clangDoc
19   )
21 install(FILES ../assets/clang-doc-default-stylesheet.css
22   DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
23   COMPONENT clang-doc)
25 install(FILES ../assets/index.js
26   DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
27   COMPONENT clang-doc)