1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
project('foobar', 'c') unfound = dependency('blub_blob_blib', required : false) pkgg = import('pkgconfig') l = shared_library('somename', 'some.c', dependencies : unfound) pkgg.generate( libraries : l, name : 'somename', version : '1.0.0', description : 'A test library.', )