Skip to content

Commit

Permalink
✏️ symlink compile database purely for clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tackyunicorn committed Nov 18, 2024
1 parent ca6077c commit 2ec5010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ check-format:
find src -name '*.[ch]pp' | xargs -P 8 -n 1 clang-format --dry-run --Werror

check-tidy:
ln -sf build/compile_commands.json compile_commands.json
find src/engine $(shell cat .targetgames | sed 's/^/src\/games\//') -name '*.[ch]pp' -print | xargs -P 8 -n 1 clang-tidy
rm -rf compile_commands.json

.PHONY: all configure build build-tracy-gui build-tracy-capture open-tracy-gui clean play play-profile format check-format check-tidy

0 comments on commit 2ec5010

Please sign in to comment.