Brad Bishop | 2d66b51 | 2019-09-19 16:36:47 -0400 | [diff] [blame] | 1 | gmock = dependency('gmock', disabler: true, required: build_tests) |
2 | gtest = dependency('gtest', main: true, disabler: true, required: build_tests) | ||||
3 | |||||
4 | test( | ||||
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 | ) |