+if ( TIDY )
+ find_program( CLANG_TIDY_EXE NAMES "clang-tidy" DOC "Path to clang-tidy executable" )
+ if ( NOT CLANG_TIDY_EXE )
+ message( STATUS "clang-tidy not found." )
+ else ()
+ message( STATUS "clang-tidy found: ${CLANG_TIDY_EXE}" )
+ set( DO_CLANG_TIDY "${CLANG_TIDY_EXE}" )
+ endif ()
+endif ()
+
+if ( IWYU )
+ find_program( INCLUDE_WHAT_YOU_USE_EXE NAMES "include-what-you-use" DOC "Path to include-what-you-use executable" )
+ if ( NOT INCLUDE_WHAT_YOU_USE_EXE )
+ message( STATUS "include-what-you-use not found." )
+ else ()
+ message( STATUS "include-what-you-use found: ${INCLUDE_WHAT_YOU_USE_EXE}" )
+ set( DO_INCLUDE_WHAT_YOU_USE "${INCLUDE_WHAT_YOU_USE_EXE}" )
+ endif ()
+endif ()
+