Use xargs to avoid long command lines

This commit is contained in:
Janek Bevendorff 2018-02-28 14:26:52 +01:00 committed by Louis-Bertrand Varin
parent 07bc9a7b4b
commit 0b6eb3b30e

View File

@ -52,8 +52,5 @@ endforeach ()
add_custom_target(
format
COMMAND clang-format
-style=file
-i
${ALL_SOURCE_FILES}
COMMAND echo ${ALL_SOURCE_FILES} | xargs clang-format -style=file -i
)