-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
42 lines (25 loc) · 983 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
project('transmogrify', 'c',
version : '0.1',
default_options : ['warning_level=3',
'c_std=c11'])
add_project_link_arguments(['-lm'], language : ['c'])
md4c_sp = subproject('md4c')
md4c = md4c_sp.get_variable('md4c_dep')
sds_sp = subproject('sds')
sds = sds_sp.get_variable('sds_dep')
fe_sp = subproject('fe')
fe = fe_sp.get_variable('fe_dep')
log_sp = subproject('log')
log = log_sp.get_variable('log_dep')
pikchr_sp = subproject('pikchr')
pikchr = pikchr_sp.get_variable('pikchr_dep')
xxhash_sp = subproject('xxhash')
xxhash = xxhash_sp.get_variable('xxhash_dep')
inc = include_directories('include')
transmogrify_src = files('src/transmogrify.c')
lisp_src = files('src/lisp.c')
subdir('tests')
transmogrify = executable('transmogrify',
[transmogrify_src, lisp_src, 'src/main.c'],
include_directories: inc,
dependencies: [md4c, sds, fe, log, pikchr, xxhash])