summaryrefslogtreecommitdiffstats
path: root/test cases/common/13 pch/withIncludeDirectories/meson.build
blob: 95f7888d99e4c3aa8619de03ee535a6f0325d62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cc = meson.get_compiler('c')
cc_id = cc.get_id()

if cc_id == 'lcc'
  error('MESON_SKIP_TEST: Elbrus compiler does not support PCH.')
endif

# PGI compiler only supports PCH for C++
if cc_id == 'pgi'
  subdir_done()
endif

exe = executable('prog', 'prog.c',
  include_directories: 'include',
  c_pch : 'pch/prog.h')