xref: /openbmc/phosphor-gpio-monitor/test/meson.build (revision 2d66b517f5defbf943ceb2d86715b6bf7b0b6dd2)
1gmock = dependency('gmock', disabler: true, required: build_tests)
2gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
3
4test(
5    'utest',
6    executable(
7        'utest', 'utest.cpp',
8        dependencies: [
9            gmock,
10            gtest,
11            libevdev,
12        ],
13        implicit_include_directories: false,
14        include_directories: '..',
15        link_with: [
16            libevdev_o,
17            libmonitor_o,
18        ]
19    )
20)
21