aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/46 subproject subproject/meson.build
blob: d8735a1cd76c7a4182902d701f290bd9f0285d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
project('sub sub', 'c')

a = subproject('a')
lib = a.get_variable('l')

dependency('not-found-dep', required : false,
           version : '>=1',
           fallback : ['c', 'notfound_dep'])

exe = executable('prog', 'prog.c', link_with : lib)
test('basic', exe)