project('extract subproject object -- subproject', 'c') lib = shared_library('sub_lib', 'sub_lib.c')