[cmake] adds static analysis target

Excerpt from output of make analyze: http://pastebin.com/eiTrfPKa