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.
11 lines
377 B
11 lines
377 B
6 years ago
|
cc = meson.get_compiler('c')
|
||
|
cc_id = cc.get_id()
|
||
|
|
||
|
# User supplied PCH implementation should override the auto
|
||
|
# generated one. PCH implementations are only supported for
|
||
|
# msvc and generally should not be used at all. Support for
|
||
|
# them is only kept for backwards compatibility.
|
||
|
if cc_id == 'msvc'
|
||
|
exe = executable('prog', 'prog.c', c_pch : ['pch/pch.h', 'pch/pch.c'])
|
||
|
endif
|