blob: cc3d12d2b4d0f96cd78e77fbf269752e4aec4502 [file] [log] [blame]
William A. Kennington III15982f62019-01-31 14:43:41 -08001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
5 'signal',
William A. Kennington IIIe847ef82018-11-02 17:29:15 -07006 'handle/copyable',
William A. Kennington III7a5e2322018-11-02 17:28:35 -07007 'handle/managed',
William A. Kennington III15982f62019-01-31 14:43:41 -08008]
9
10foreach t : tests
11 test(t, executable(t.underscorify(), t + '.cpp',
12 include_directories: includes,
13 implicit_include_directories: false,
14 link_with: stdplus,
15 dependencies: [gtest, gmock]))
16endforeach