1*0b3c3899SWilliam A. Kennington IIIgtest = dependency('gtest', main: true, disabler: true, required: get_option('tests')) 2*0b3c3899SWilliam A. Kennington IIIgmock = dependency('gmock', disabler: true, required: get_option('tests')) 3b9337710SWilliam A. Kennington III 4b9337710SWilliam A. Kennington IIItests = [ 5b9337710SWilliam A. Kennington III 'watchdog', 6b9337710SWilliam A. Kennington III] 7b9337710SWilliam A. Kennington III 8b9337710SWilliam A. Kennington IIIforeach t : tests 9*0b3c3899SWilliam A. Kennington III test( 10*0b3c3899SWilliam A. Kennington III t, 11*0b3c3899SWilliam A. Kennington III executable( 12*0b3c3899SWilliam A. Kennington III t.underscorify(), 13*0b3c3899SWilliam A. Kennington III t + '.cpp', 14b9337710SWilliam A. Kennington III implicit_include_directories: false, 15b9337710SWilliam A. Kennington III link_with: libwatchdog, 16b9337710SWilliam A. Kennington III dependencies: [gtest, gmock])) 17b9337710SWilliam A. Kennington IIIendforeach 18