Warning, /kdevelop/kdevelop/cmake/modules/FindClangTidy.cmake is written in an unsupported language. File is not indexed.

0001 # Find the clang-tidy executable
0002 #
0003 # Defines the following variables
0004 #  ClangTidy_EXECUTABLE - path of the Clang-Tidy executable
0005 
0006 #=============================================================================
0007 # SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau <kossebau@kde.org>
0008 #
0009 # SPDX-License-Identifier: BSD-3-Clause
0010 #=============================================================================
0011 
0012 find_program(ClangTidy_EXECUTABLE NAMES clang-tidy)
0013 
0014 include(FindPackageHandleStandardArgs)
0015 find_package_handle_standard_args(ClangTidy DEFAULT_MSG ClangTidy_EXECUTABLE)
0016 
0017 mark_as_advanced(ClangTidy_EXECUTABLE)