parent
546f81e0f9
commit
43be74cf81
1 changed files with 6 additions and 0 deletions
@ -1,4 +1,10 @@ |
|||||||
project('pch test', 'c') |
project('pch test', 'c') |
||||||
|
|
||||||
|
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 |
||||||
|
|
||||||
exe = executable('prog', 'prog.c', |
exe = executable('prog', 'prog.c', |
||||||
c_pch : ['pch/prog_pch.c', 'pch/prog.h']) |
c_pch : ['pch/prog_pch.c', 'pch/prog.h']) |
||||||
|
Loading…
Reference in new issue