Examples of PVS-Studio integration in CMake (CLion/QtCreator)
A few examples in this repository will help you to learn how to use the PVS-Studio CMake module in your CMakeLists.txt properly.
You can also perform analysis of C and C++ projects based on JSON Compilation Database.
Go to description of the CMake module