I am a newbie in CMake.
In my previous complie tools waf. it provide me a cpplint.py script that can check cpp source file's format, and make complie failed if the format is not good.
but i want to switch to Cmake. I googled this, but seems still cant make it work.
Can anyone tell me how to run cpplint.py when i make by cmake?
it will be of great help for me if you can list an example.
Thanks a lot