~emersion/mrsh

ref: 9371d6094e78645f0ec0c85b6cd5b6c8ec9638fc mrsh/meson.build -rw-r--r-- 823 bytes
9371d609Drew DeVault Implement times, : builtins 3 years ago
                                                                                
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
project(
	'mrsh',
	'c',
	version: '0.0.0',
	license: 'MIT',
	meson_version: '>=0.43.0',
	default_options: [
		'c_std=c11',
		'warning_level=2',
		'werror=true',
	],
)

add_project_arguments('-Wno-unused-parameter', language: 'c')
add_project_arguments('-Wno-missing-braces', language: 'c')

mrsh_inc = include_directories('include')

executable(
	'mrsh',
	files([
		'array.c',
		'ast_print.c',
		'ast.c',
		'buffer.c',
		'builtin/builtin.c',
		'builtin/colon.c',
		'builtin/exit.c',
		'builtin/times.c',
		'main.c',
		'parser.c',
		'shell/process.c',
		'shell/shell.c',
		'shell/task_async.c',
		'shell/task_binop.c',
		'shell/task_builtin.c',
		'shell/task_if_clause.c',
		'shell/task_list.c',
		'shell/task_pipeline.c',
		'shell/task_process.c',
		'shell/task.c',
	]),
	include_directories: [mrsh_inc],
	install: true,
)