Sign in
qemu
/
meson
/
7b43a2e19613f3702935872b21b1020f7d8c6a9b
/
.
/
test cases
/
common
/
13 pch
/
mixed
/
meson.build
blob: 266e7a575bf0c6996cf49fce9bfb4236df7b777e [
file
] [
log
] [
blame
]
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'
],
)