-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
55 lines (42 loc) · 1.09 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
project(
'e',
'c',
version: '0.1',
default_options: [
'warning_level=3',
'quickjs:warning_level=2',
'quickjs:werror=false',
],
)
cextras_dep = dependency('cextras')
tree_sitter_dep = dependency('tree-sitter')
#tree_sitter_dep = subproject('tree-sitter').get_variable('tree_sitter_dep')
quickjs_dep = dependency('quickjs', fallback: ['quickjs', 'quickjs_dep'])
liblsp_dep = subproject('liblsp').get_variable('liblsp_dep')
librope_dep = subproject('librope').get_variable('librope_dep')
libttyui_dep = subproject('libttyui').get_variable('libttyui_dep')
libeditorconfig_dep = subproject(
'libeditorconfig',
).get_variable('libeditorconfig_dep')
libhighlight_dep = subproject('libhighlight').get_variable('libhighlight_dep')
subdir('parsers')
subdir('include')
subdir('src')
dependencies = [
quickjs_dep,
cextras_dep,
librope_dep,
libttyui_dep,
libeditorconfig_dep,
#tree_sitter_dep,
]
executable(
'e',
e_src,
include_directories: [
e_include,
],
dependencies: dependencies,
install: true,
)
subdir('test')