blob: f11864e58bfa22053afbabf5750d70a4f38898f4 [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 IIIbff0b0f2018-11-16 19:56:10 -08008 'util/cexec',
William A. Kennington III15982f62019-01-31 14:43:41 -08009]
10
11foreach t : tests
12 test(t, executable(t.underscorify(), t + '.cpp',
13 include_directories: includes,
14 implicit_include_directories: false,
15 link_with: stdplus,
16 dependencies: [gtest, gmock]))
17endforeach