1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
gmock = dependency('gmock', disabler: true, required: build_tests)
tests = [
'signal',
'handle/copyable',
'handle/managed',
'util/cexec',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
include_directories: includes,
implicit_include_directories: false,
link_with: stdplus,
dependencies: [gtest, gmock]))
endforeach
|