cmake: remove iwyu target

This commit is contained in:
tobtoht 2025-11-13 14:13:54 +01:00
parent bba6aa518b
commit a0b8a32f3e
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -1190,13 +1190,3 @@ endif()
# when ON - will install libwallet_merged into "lib"
option(BUILD_GUI_DEPS "Build GUI dependencies." OFF)
find_package(PythonInterp)
find_program(iwyu_tool_path NAMES iwyu_tool.py iwyu_tool)
if (iwyu_tool_path AND PYTHONINTERP_FOUND)
add_custom_target(iwyu
COMMAND "${PYTHON_EXECUTABLE}" "${iwyu_tool_path}" -p "${CMAKE_BINARY_DIR}" -- --no_fwd_decls
COMMENT "Running include-what-you-use tool"
VERBATIM
)
endif()