You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
365 B

  1. CMAKE_<LANG>_CLANG_TIDY
  2. -----------------------
  3. Default value for :prop_tgt:`<LANG>_CLANG_TIDY` target property
  4. when ``<LANG>`` is ``C`` or ``CXX``.
  5. This variable is used to initialize the property on each target as it is
  6. created. For example:
  7. .. code-block:: cmake
  8. set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
  9. add_executable(foo foo.cxx)