William A. Kennington III | 15982f6 | 2019-01-31 14:43:41 -0800 | [diff] [blame^] | 1 | gtest = dependency('gtest', main: true, disabler: true, required: build_tests) |
2 | gmock = dependency('gmock', disabler: true, required: build_tests) | ||||
3 | |||||
4 | tests = [ | ||||
5 | 'signal', | ||||
6 | ] | ||||
7 | |||||
8 | foreach t : tests | ||||
9 | test(t, executable(t.underscorify(), t + '.cpp', | ||||
10 | include_directories: includes, | ||||
11 | implicit_include_directories: false, | ||||
12 | link_with: stdplus, | ||||
13 | dependencies: [gtest, gmock])) | ||||
14 | endforeach |