================ @@ -53,3 +53,10 @@ foreach (file IN LISTS files) endforeach () add_custom_target(clang-format-check-format DEPENDS ${check_format_depends}) + +add_custom_target(clang-format-style-options + COMMAND "${Python3_EXECUTABLE}" dump_format_style.py + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../../docs/tools" + DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/../../include/clang/Format/Format.h" + "${CMAKE_CURRENT_SOURCE_DIR}/../../include/clang/Tooling/Inclusions/IncludeStyle.h") ---------------- owenca wrote:
Please use `CLANG_SOURCE_DIR`. (See 78e7d9592d7c3b500ae2bae097d8cd7cd9369671.) https://github.com/llvm/llvm-project/pull/111513 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits