1gtest = dependency('gtest', main: true, disabler: true, required: build_tests) 2gmock = dependency('gmock', disabler: true, required: build_tests) 3 4tests = [ 5 'estoraged_test', 6] 7 8foreach 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)) 17endforeach 18