Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 1 | SUMMARY = "CppUTest unit testing and mocking framework for C/C++" |
| 2 | HOMEPAGE = "http://cpputest.github.io/" |
| 3 | SECTION = "devel" |
| 4 | |
| 5 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" |
| 7 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 8 | SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master" |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 9 | SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | inherit cmake |
| 14 | |
| 15 | EXTRA_OECMAKE = "-DLONGLONG=ON \ |
| 16 | -DC++11=ON \ |
| 17 | -DTESTS=OFF \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 18 | " |
| 19 | |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 20 | DEV_PKG_DEPENDENCY = "" |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*" |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 23 | |
| 24 | PACKAGECONFIG ??= "" |
| 25 | PACKAGECONFIG[extensions] = "-DEXTENSIONS=ON,-DEXTENSIONS=OFF" |