aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb
diff options
context:
space:
mode:
authorMikhail Durnev <Mikhail_Durnev@mentor.com>2015-10-20 20:17:34 +1000
committerMikhail Durnev <mikhail_durnev@mentor.com>2015-10-20 20:44:45 +1000
commitb9bd3fa51070fe2cce554ccc7bb816cd39ff5dbe (patch)
tree90934f84283d77569547158bda7f4b18e66a9ac2 /meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb
parent7d7c7b0edc3d8d806250a015f7fbf58418f04395 (diff)
gtest: Backported from meta-openembedded
This is Google's framework for writing C++ tests. The gtest 1.7.0 recipe was backported form meta-openembedded branch master https://github.com/openembedded/meta-openembedded commit ff5cda05c9caa0a1c8fc47e8ad5898acb7755399 Change-Id: Iad0c1de0f369ed916cf38f4efd5d2d5c98e263b0 Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Diffstat (limited to 'meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb')
-rw-r--r--meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb b/meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb
new file mode 100644
index 000000000..9f148d549
--- /dev/null
+++ b/meta-ivi-common/recipes-test/gtest/gtest_1.7.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Google's framework for writing C++ tests"
+HOMEPAGE = "http://code.google.com/p/googletest/"
+SECTION = "libs"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd27594afd089daa160d3a16dd515a"
+
+SRC_URI = "\
+ http://googletest.googlecode.com/files/${BPN}-${PV}.zip \
+ file://cmake-Add-install-command-for-libraries-and-headers.patch \
+ file://CMakeLists-gtest.pc.in-Add-pkg-config-support-to-gte.patch \
+"
+
+SRC_URI[md5sum] = "2d6ec8ccdf5c46b05ba54a9fd1d130d7"
+SRC_URI[sha256sum] = "247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d"
+
+inherit lib_package cmake
+
+ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY_${PN}-dbg = "1"
+
+RDEPENDS_${PN}-dev += "${PN}-staticdev"
+
+BBCLASSEXTEND = "nativesdk"