gtest_proj = subproject('gtest') gtest_dep = gtest_proj.get_variable('gtest_main_dep') test( 'split_str', executable( 'split_str', 'string.cpp', dependencies: [ string_dep, gtest_dep ] ) ) test( 'within', executable( 'within', 'range.cpp', dependencies: [ range_dep, gtest_dep ] ) ) test( 'container', executable( 'container', 'container.cpp', dependencies: [ range_dep, gtest_dep ] ) )