xref: /openbmc/phosphor-gpio-monitor/test/meson.build (revision 0172969c58370a0f4f41d646dce76c23dd0637cd)
12d66b517SBrad Bishopgmock = dependency('gmock', disabler: true, required: build_tests)
22d66b517SBrad Bishopgtest = dependency('gtest', main: true, disabler: true, required: build_tests)
32d66b517SBrad Bishop
42d66b517SBrad Bishoptest(
52d66b517SBrad Bishop    'utest',
62d66b517SBrad Bishop    executable(
72d66b517SBrad Bishop        'utest', 'utest.cpp',
82d66b517SBrad Bishop        dependencies: [
92d66b517SBrad Bishop            gmock,
102d66b517SBrad Bishop            gtest,
112d66b517SBrad Bishop            libevdev,
12*0172969cSPatrick Williams            sdbusplus,
132d66b517SBrad Bishop        ],
142d66b517SBrad Bishop        implicit_include_directories: false,
152d66b517SBrad Bishop        include_directories: '..',
162d66b517SBrad Bishop        link_with: [
172d66b517SBrad Bishop            libevdev_o,
182d66b517SBrad Bishop            libmonitor_o,
192d66b517SBrad Bishop        ]
202d66b517SBrad Bishop    )
212d66b517SBrad Bishop)
22