Running CPPlint on whole project

T M picture T M · Jul 9, 2015 · Viewed 9.9k times · Source

I want to run cpplint.py on my whole project not for single file to get a report for all C/C++ files in the project. How to do this on macOS and Windows?

Answer

T M picture T M · Jul 9, 2015

I have just find answer for some part of my question under this great post

"Shell Foo: Getting a cpplint Breakdown Report On All Project Source Files"

Here is the way how to run cpplint for a project on a Mac

.python cpplint.py --linelength=120 --counting=detailed $( find . -name *.h -or -name *.cc | grep -vE "^./build/" )

For Windows there is a post about integration in Visual Studio. How to integrate cpplint.py into Visual Studio