From f53a67a5ab58cc2c719df443a50cc7bdb4b87d35 Mon Sep 17 00:00:00 2001 From: Christian Eggers Date: Fri, 19 Jul 2024 22:48:49 +0200 Subject: include-what-you-use: new recipe Clang based checker for C/C++ header includes. "Experimental software, as of June 2024.", but definitely very useful. Signed-off-by: Christian Eggers --- .../include-what-you-use_0.22.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb diff --git a/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb b/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb new file mode 100644 index 0000000..c2a4009 --- /dev/null +++ b/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb @@ -0,0 +1,22 @@ +SUMMARY = "Include What You Use (IWYU) - Clang based checker for C/C++ header includes" +DESCRIPTION = "For every symbol (type, function, variable, or macro) that you \ + use in foo.cc (or foo.cpp), either foo.cc or foo.h should \ + include a .h file that exports the declaration of that symbol." +HOMEPAGE = "https://include-what-you-use.org" +BUGTRACKER = "https://github.com/include-what-you-use/include-what-you-use/issues" +LICENSE = "NCSA" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=59d01ad98720f3c50d6a8a0ef3108c88 \ + file://iwyu-check-license-header.py;md5=7bdb749831163fbe9232b3cb7186116f" + +DEPENDS = "clang" + +SRC_URI = "git://github.com/include-what-you-use/include-what-you-use.git;protocol=https;branch=clang_18" +SRCREV = "377eaef70cdda47368939f4d9beabfabe3f628f0" + +S = "${WORKDIR}/git" + +inherit cmake python3native + +FILES:${PN} += "${datadir}/${BPN}" + +BBCLASSEXTEND = "nativesdk" -- cgit v1.2.3-54-g00ecf