add new --list and --explain options to clazy

Review Request #128050 - Created May 29, 2016 and submitted

Allen Winter

This patch does several things:

1) the clazy script is created from clazy.cmake so we can set some variables from the buildsystem
2) the clazy script now sets LD_LIBRARY_PATH
3) the clazy script has a new option "--list", which lists all the available checkers by level (then exits)
4) the clazy script has a new option "--explain", which will cat the README for the specified checker (actually all glob-matching checkers)

lots of local testing on linux.

try clazy --list
or clazy --explain (will cat READMEs for all the checkers)
or clazy --explain qstring (will cat READMEs for all checkers glob-matching qstring)
or clazy --explain old-style-connect


Allen Winter
Allen Winter
Allen Winter
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 729af7d84607b7af0dd00dfcc7fbeb6f01ba8eff by Allen Winter to branch master.
Sergio Martins
Ship It!