subdir('subdir2') subdir('subdir3') lib1 = shared_library('lib1', 'lib1.c', install : true, link_with : [lib2, lib3])