polysquare/cppcheck-target-cmake — pull request #15 by smspillaz (2014-08-25 15:17:11+00:00)
Title: Allow all sources, including non C or CXX sources to be checked.

This enables header files to be checked. What we were really trying
to filter out was ghost sources created by add_custom_target, which
we can do easily by just filtering out any source who's last
component matches the target name.