File tree 1 file changed +4
-1
lines changed 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,14 @@ endforeach ()
55
55
add_custom_target (clang-format-check-format DEPENDS ${check_format_depends} )
56
56
57
57
set (style_options_depends ${CLANG_SOURCE_DIR} /docs/ClangFormatStyleOptions.rst)
58
+ set (docs_tools_dir ${CLANG_SOURCE_DIR} /docs/tools)
58
59
add_custom_command (OUTPUT ${style_options_depends}
59
60
COMMAND ${Python3_EXECUTABLE} dump_format_style.py
60
- WORKING_DIRECTORY ${CLANG_SOURCE_DIR} /docs/tools
61
+ WORKING_DIRECTORY ${docs_tools_dir}
61
62
DEPENDS ${CLANG_SOURCE_DIR} /include /clang/Format/Format.h
62
63
${CLANG_SOURCE_DIR} /include /clang/Tooling/Inclusions/IncludeStyle.h
64
+ ${docs_tools_dir} /plurals.txt
65
+ ${docs_tools_dir} /dump_format_style.py
63
66
)
64
67
add_custom_target (clang-format-style-options DEPENDS ${style_options_depends} )
65
68
add_dependencies (clangFormat clang-format-style-options )
You can’t perform that action at this time.
0 commit comments