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 sdbusplus, 13 ], 14 implicit_include_directories: false, 15 include_directories: '..', 16 link_with: [ 17 libevdev_o, 18 libmonitor_o, 19 ] 20 ) 21) 22