Skip to content

Commit

Permalink
Merge pull request #1096 from lairworks/makeShowWarnings
Browse files Browse the repository at this point in the history
Add a `show-warnings` target to the `makefile`
  • Loading branch information
DanRStevens authored Apr 30, 2023
2 parents 3489d9e + ca8b3b9 commit 5b273e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ run-test-graphics: | test-graphics
cd test-graphics/ && ../$(BUILDDIR)/testGraphics ; cd ..


.PHONY: show-warnings
show-warnings:
$(MAKE) -j1 clean all CXX=clang++ CXXFLAGS_WARN=-Weverything 2>&1 >/dev/null | grep -o "\[-W.*\]" | sort | uniq

.PHONY: lint
lint: cppcheck cppclean

Expand Down

0 comments on commit 5b273e2

Please sign in to comment.