Merge pull request #10211

a0b8a32 cmake: remove iwyu target (tobtoht)
This commit is contained in:
tobtoht 2026-01-03 11:25:54 +00:00
commit a15fa548e4
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -1186,13 +1186,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()