Author: Owen Pan Date: 2024-12-04T23:02:02-08:00 New Revision: 6bec1806c9cc90f6e72fc04698f4221c86c5f95e
URL: https://github.com/llvm/llvm-project/commit/6bec1806c9cc90f6e72fc04698f4221c86c5f95e DIFF: https://github.com/llvm/llvm-project/commit/6bec1806c9cc90f6e72fc04698f4221c86c5f95e.diff LOG: [clang-format] Add plurals.txt to DEPENDS of style_options_depends Added: Modified: clang/lib/Format/CMakeLists.txt Removed: ################################################################################ diff --git a/clang/lib/Format/CMakeLists.txt b/clang/lib/Format/CMakeLists.txt index a633a15df3d9aa..b0f20f7c66937d 100644 --- a/clang/lib/Format/CMakeLists.txt +++ b/clang/lib/Format/CMakeLists.txt @@ -55,11 +55,14 @@ endforeach () add_custom_target(clang-format-check-format DEPENDS ${check_format_depends}) set(style_options_depends ${CLANG_SOURCE_DIR}/docs/ClangFormatStyleOptions.rst) +set(docs_tools_dir ${CLANG_SOURCE_DIR}/docs/tools) add_custom_command(OUTPUT ${style_options_depends} COMMAND ${Python3_EXECUTABLE} dump_format_style.py - WORKING_DIRECTORY ${CLANG_SOURCE_DIR}/docs/tools + WORKING_DIRECTORY ${docs_tools_dir} DEPENDS ${CLANG_SOURCE_DIR}/include/clang/Format/Format.h ${CLANG_SOURCE_DIR}/include/clang/Tooling/Inclusions/IncludeStyle.h + ${docs_tools_dir}/plurals.txt + ${docs_tools_dir}/dump_format_style.py ) add_custom_target(clang-format-style-options DEPENDS ${style_options_depends}) add_dependencies(clangFormat clang-format-style-options) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits