project('gmock test', 'cpp') # Using gmock without gtest is a pain so just # don't support that then. gtest = dependency('gtest', main : true) gmock = dependency('gmock') e = executable('gmocktest', 'gmocktest.cc', deps : [gtest, gmock]) test('gmock test', e)