mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
include-what-you-use: Move the recipe here from meta-clang
This recipe needs clang which is now in oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
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=3bb66a14534286912cd6f26649b5c60a \
|
||||||
|
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=master"
|
||||||
|
SRCREV = "fa1094c0b3848f82244778bc6153cc84f8a890f6"
|
||||||
|
|
||||||
|
PV .= "+git"
|
||||||
|
|
||||||
|
inherit cmake python3native
|
||||||
|
|
||||||
|
EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu"
|
||||||
|
|
||||||
|
FILES:${PN} += "${datadir}/${BPN}"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "nativesdk"
|
||||||
Reference in New Issue
Block a user