Example using CMake with static analysis checking