summaryrefslogtreecommitdiff
path: root/test/ipa/meson.build
blob: ecde313c6dc5f09f18be7e64f45fb97b5b3bba07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ipa_modules_sources = [
    ['ipa-dummy-c',   'shared_test.c'],
    ['ipa-dummy-cpp', 'shared_test.cpp'],
]

foreach m : ipa_modules_sources
    shared_library(m, name_prefix : '',
                   dependencies : libcamera_dep,
                   include_directories : test_includes_public)
endforeach

ipa_test = [
    ['ipa_test', 'ipa_test.cpp'],
]

foreach t : ipa_test
    exe = executable(t[0], t[1],
                     dependencies : libcamera_dep,
                     link_with : test_libraries,
                     include_directories : test_includes_internal)

    test(t[0], exe, suite : 'ipa', is_parallel : false)
endforeach