LANG_CPPLINT.rst 520 B

123456789101112131415
  1. <LANG>_CPPLINT
  2. --------------
  3. .. versionadded:: 3.8
  4. This property is supported only when ``<LANG>`` is ``C`` or ``CXX``.
  5. Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing a command line
  6. for the ``cpplint`` style checker. The :ref:`Makefile Generators` and the
  7. :generator:`Ninja` generator will run ``cpplint`` along with the compiler
  8. and report any problems.
  9. This property is initialized by the value of the
  10. :variable:`CMAKE_<LANG>_CPPLINT` variable if it is set when a target is
  11. created.