1gtest = dependency('gtest', main: true, disabler: true, required: build_tests) 2gmock = dependency('gmock', disabler: true, required: build_tests) 3 4tests = [ 5 'erase/verifyGeometry_test', 6 'erase/pattern_test', 7 'erase/zero_test', 8 'estoraged_test', 9] 10 11foreach t : tests 12 test(t, executable(t.underscorify(), t + '.cpp', 13 implicit_include_directories: false, 14 dependencies: [ 15 gtest, 16 gmock, 17 libeStoraged, 18 ], 19 include_directories: eStoraged_headers)) 20endforeach 21