- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
26 lines
668 B
BlitzBasic
26 lines
668 B
BlitzBasic
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
SUMMARY = "A C++ example compiled with cmake."
|
|
|
|
require cpp-example.inc
|
|
|
|
SRC_URI += "file://CMakeLists.txt"
|
|
|
|
inherit cmake-qemu
|
|
|
|
PACKAGECONFIG[failing_test] = "-DFAILING_TEST=ON"
|
|
|
|
FILES:${PN}-ptest += "${bindir}/test-cmake-example"
|
|
|
|
do_run_tests () {
|
|
bbnote ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' --target test -- ${EXTRA_OECMAKE_BUILD}
|
|
eval ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' --target test -- ${EXTRA_OECMAKE_BUILD}
|
|
}
|
|
do_run_tests[doc] = "Run cmake --target=test using qemu-user"
|
|
|
|
addtask do_run_tests after do_compile
|