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 = [ |
John Edward Broadbent | e6ffe70 | 2021-10-14 14:03:11 -0700 | [diff] [blame] | 5 | 'erase/verifyGeometry_test', |
John Wedig | b810c92 | 2021-11-17 16:38:03 -0800 | [diff] [blame] | 6 | 'estoraged_test', |
| 7 | ] |
| 8 | |
| 9 | foreach t : tests |
| 10 | test(t, executable(t.underscorify(), t + '.cpp', |
| 11 | implicit_include_directories: false, |
| 12 | dependencies: [ |
| 13 | gtest, |
| 14 | gmock, |
| 15 | libeStoraged, |
| 16 | ], |
| 17 | include_directories: eStoraged_headers)) |
| 18 | endforeach |