[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / pseudo / tool / CMakeLists.txt
blob49e1dc29a5a4e4653d8144922fa22c63fcf391e1
1 set(LLVM_LINK_COMPONENTS support)
3 add_clang_tool(clang-pseudo
4   ClangPseudo.cpp
5   HTMLForest.cpp
6   )
8 clang_target_link_libraries(clang-pseudo
9   PRIVATE
10   clangBasic
11   )
13 target_link_libraries(clang-pseudo
14   PRIVATE
15   clangPseudo
16   clangPseudoGrammar
17   clangPseudoCLI
18   )
20 add_custom_command(OUTPUT HTMLForestResources.inc
21   COMMAND "${Python3_EXECUTABLE}" ${CLANG_SOURCE_DIR}/utils/bundle_resources.py
22   ${CMAKE_CURRENT_BINARY_DIR}/HTMLForestResources.inc
23   HTMLForest.css HTMLForest.js HTMLForest.html
24   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
25   COMMENT "Bundling HTMLForest resources"
26   DEPENDS ${CLANG_SOURCE_DIR}/utils/bundle_resources.py HTMLForest.css HTMLForest.js HTMLForest.html
27   VERBATIM)
28 add_custom_target(clang-pseudo-resources DEPENDS HTMLForestResources.inc)
29 add_dependencies(clang-pseudo clang-pseudo-resources)