mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
0618ddf6b1
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
122 B
CMake
4 lines
122 B
CMake
enable_language(CXX)
|
|
set(CMAKE_CXX_CPPLINT "${PSEUDO_CPPLINT}" --verbose=0 --linelength=80)
|
|
add_executable(main main.cxx)
|