project('header install', 'c') as_array = ['subdir.h'] h1 = install_headers('rootdir.h') h2 = install_headers(as_array, subdir : 'subdir') subdir('vanishing_subdir')