polysquare/clang-tidy-target-cmake — pull request #3 by smspillaz (2014-09-27 10:22:21+00:00)
Title: Ensure that a fake compilation database is generated for headers on targ...

...ets.

Header files specified on a target won't be added to compile_commands.json
but we might want to run clang-tidy on them. Add them to
${TARGET}_compile_commands/compile_commands.json and run clang-tidy with that.