Updated makefile clang format command
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
e4a9b9d354
commit
21b9943fc0
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -198,7 +198,9 @@ win_build_xxd:
|
|||
cd external/bin/ && gcc.exe -o xxd.exe xxd.c -DCYGWIN
|
||||
|
||||
format:
|
||||
$(CLANG_FORMAT_BIN) -i -style=file src/*.cpp src/include/kompute/*.hpp test/*cpp
|
||||
for val in "examples single_include src test" ; do \
|
||||
find $$val -depth -iname *.h -or -iname *.c -or -iname *.hpp -or -iname *.cpp | grep -v "shaders" | xargs $(CLANG_FORMAT_BIN) -style=file -i; \
|
||||
done
|
||||
|
||||
static_scan:
|
||||
cppcheck --project=build/compile_commands.json -iexternal/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue