
Create a `<LANG>_CPPLINT` target property (initialized by a `CMAKE_<LANG>_CPPLINT` variable) to specify a `cpplint` style checker command line to be run along with the compiler.
4 lines
102 B
CMake
4 lines
102 B
CMake
enable_language(CXX)
|
|
set(CMAKE_CXX_CPPLINT "${PSEUDO_CPPLINT}" --error)
|
|
add_executable(main main.cxx)
|