John Wedig | b810c92 | 2021-11-17 16:38:03 -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 | 'estoraged_test', | ||||
6 | ] | ||||
7 | |||||
8 | foreach t : tests | ||||
9 | test(t, executable(t.underscorify(), t + '.cpp', | ||||
10 | implicit_include_directories: false, | ||||
11 | dependencies: [ | ||||
12 | gtest, | ||||
13 | gmock, | ||||
14 | libeStoraged, | ||||
15 | ], | ||||
16 | include_directories: eStoraged_headers)) | ||||
17 | endforeach |