How to use cpplint code style checking with CMake?
Clash Royale CLAN TAG #URR8PPP How to use cpplint code style checking with CMake? The only online resources I have found are the CMake documentation on CMAKE_<LANG>_CPPLINT (link here) and this example (link here), but I cannot figure out how to actually use it inside a CMakeLists.txt file. I tried the example provided, but I can't make it work. FYI, I installed cpplint as explained here. CMAKE_<LANG>_CPPLINT As of now, I can run the cpplint python script inside CMakeLists.txt using this CMake command: execute_process(COMMAND cpplint path/To/File/To/Analyse.cpp) However, I am pretty sure that this is not the right way to do this. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.