aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/wayland-ivi-extension_1.9.1.bbappend
blob: a7d34e80d8396e42192bc03c57616bec0eac6bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

ENABLE_TEST = "-DBUILD_ILM_API_TESTS:BOOL=TRUE \
    -DINSTALL_ILM_API_TESTS:BOOL=TRUE \
    "

DISABLE_TEST = "-DBUILD_ILM_API_TESTS:BOOL=FALSE \
    -DINSTALL_ILM_API_TESTS:BOOL=FALSE \
    "

PACKAGECONFIG ??= "ilm_input test"
PACKAGECONFIG[test] = "${ENABLE_TEST},${DISABLE_TEST},gtest"

SRC_URI_append = "\
    file://cmake-find-gtest.patch \
    file://test-path.patch \
    "

PACKAGES =+ "${PN}-test"

FILES_${PN}-test = "${libdir}/${PN}/test/*/CTestTestfile.cmake \
    ${libdir}/${PN}/test/ivi-layermanagement-api-test \
    ${libdir}/${PN}/test/ivi-input-api-test \
    "
FILES_${PN}-dbg += "${libdir}/${PN}/test/.debug"

RDEPENDS_${PN}-test += "cmake"