dep_staging_utils = declare_dependency( include_directories: include_directories('.'), link_with: static_library('staging-utils', [ 'downloadmanager.cpp', mod_qt5.preprocess(moc_headers: 'downloadmanager.h') ], dependencies: dep_qt5 ) ) executable('filterlist', dependencies: [ dep_qt5, dep_staging_utils ], sources: [ 'test/main.cpp' ] ) #test('adblockfilter: parser', # executable('adblockfilter-parsefilter', # dependencies: [ dep_qt5, dep_gtest, dep_adblockfilter ], # sources: [ 'test/parser.cpp' ] # ), # workdir: meson.current_source_dir() / 'test', # should_fail: true #)