File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,14 @@ endforeach ()
5555add_custom_target (clang-format-check-format DEPENDS ${check_format_depends} )
5656
5757set (style_options_depends ${CLANG_SOURCE_DIR} /docs/ClangFormatStyleOptions.rst)
58+ set (docs_tools_dir ${CLANG_SOURCE_DIR} /docs/tools)
5859add_custom_command (OUTPUT ${style_options_depends}
5960 COMMAND ${Python3_EXECUTABLE} dump_format_style.py
60- WORKING_DIRECTORY ${CLANG_SOURCE_DIR} /docs/tools
61+ WORKING_DIRECTORY ${docs_tools_dir}
6162 DEPENDS ${CLANG_SOURCE_DIR} /include /clang/Format/Format.h
6263 ${CLANG_SOURCE_DIR} /include /clang/Tooling/Inclusions/IncludeStyle.h
64+ ${docs_tools_dir} /plurals.txt
65+ ${docs_tools_dir} /dump_format_style.py
6366 )
6467add_custom_target (clang-format-style-options DEPENDS ${style_options_depends} )
6568add_dependencies (clangFormat clang-format-style-options )
You can’t perform that action at this time.
0 commit comments