summaryrefslogtreecommitdiffstats
path: root/test cases/linuxlike/6 subdir include order/meson.build
blob: fea3984bbd559795069dbd250cba9e811028a3e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
project('subdir include order', 'c')

# Ensure that headers in subdirs override external dependencies
cc = meson.get_compiler('c')

glib = dependency('glib-2.0')

# This will fail to compile if it picks up the system-installed glib instead of
# the glib in the subdir
executable('prog', 'prog.c',
  include_directories : include_directories('subdir'),
  dependencies : glib)