The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
246 B

cc = meson.get_compiler('c')
cc_id = cc.get_id()
# PGI compiler only supports PCH for C++
if cc_id == 'pgi'
subdir_done()
endif
exe = executable(
'prog',
files('main.cc', 'func.c'),
c_pch : ['pch/func.h'],
cpp_pch : ['pch/main.h'],
)