Created
August 13, 2016 16:07
-
-
Save orbitcowboy/b3a6baef31afda29276880dce7d3fd8a to your computer and use it in GitHub Desktop.
Run cppcheck on multiple sln files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -type f -name '*.sln' -exec readlink -f {} \; | uniq | sed -e 's/^/cppcheck --enable=all --std=posix --library=std,windows --project=/' > /tmp/cppcheck.sh && sh /tmp/cppcheck.sh && rm /tmp/cppcheck.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment