[clang] [llvm] [clang-format] Add new cmake target, `clang-format-style-options`, for updating ClangFormatStyleOptions.rst. (PR #111513)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 4 22:43:36 PST 2024
================
@@ -53,3 +53,13 @@ foreach (file IN LISTS files)
endforeach ()
add_custom_target(clang-format-check-format DEPENDS ${check_format_depends})
+
+set(style_options_depends ${CLANG_SOURCE_DIR}/docs/ClangFormatStyleOptions.rst)
+add_custom_command(OUTPUT ${style_options_depends}
----------------
owenca wrote:
```suggestion
set(docs_tools_dir ${CLANG_SOURCE_DIR}/docs/tools)
add_custom_command(OUTPUT ${style_options_depends}
```
https://github.com/llvm/llvm-project/pull/111513
More information about the cfe-commits
mailing list