Bump version to 19.1.0 (final)
[llvm-project.git] / clang-tools-extra / pseudo / tool / CMakeLists.txt
blobbead383228396e9210ae561ea6dae20103368828
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 set_target_properties(clang-pseudo-resources PROPERTIES FOLDER "Clang Tools Extra/Resources")
30 add_dependencies(clang-pseudo clang-pseudo-resources)