Debian Codegraph @

test cases/linuxlike/6 subdir include order/meson.build

raw
1 project('subdir include order', 'c')
2
3 # Ensure that headers in subdirs override external dependencies
4 cc = meson.get_compiler('c')
5
6 glib = dependency('glib-2.0')
7
8 # This will fail to compile if it picks up the system-installed glib instead of
9 # the glib in the subdir
10 executable('prog', 'prog.c',
11 include_directories : include_directories('subdir'),
12 dependencies : glib)