Files
CMake/Tests/RunCMake/Cppcheck/CXX.cmake
Bill Hoffman 311b7b1a70 Add properties to run cppcheck along with the compiler
Create a `<LANG>_CPPCHECK` target property (initialized by a
`CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line
to be run along with the compiler.
2017-08-30 10:23:46 -04:00

4 lines
96 B
CMake

enable_language(CXX)
set(CMAKE_CXX_CPPCHECK "${PSEUDO_CPPCHECK}")
add_executable(main main.cxx)